Skip to content

#302F08 Color

#302F08 is rgb(48, 47, 8) in RGB, hsl(59, 71%, 11%) in HSL, and about cmyk(0%, 2%, 83%, 81%) in CMYK. It has no registered color name of its own — the closest is Dark Olive (#3C341F), visibly different at ΔE 10.4. White text is the more readable choice on this background.

#302F08
HEX#302F08
RGBrgb(48, 47, 8)
HSLhsl(59, 71%, 11%)
HSVhsv(59, 83%, 19%)
CMYKcmyk(0%, 2%, 83%, 81%)
OKLCHoklch(29.7% 0.056 107.9)
LABlab(18.84% -3.83 23.23)
LCHlch(18.84% 23.54 99.37)

What #302F08 Is Called

Most hex codes have no name: there are 16.7 million of them and a few thousand registered names. These are the named colors nearest to #302F08, ordered by CIE76 distance in CIELAB. Anything under about ΔE 2 is a difference most people cannot see.

Browse the full index of named colors A-Z or every yellow in the library.

#302F08 Channel Values

How #302F08 breaks down in each color model. Hue is measured in degrees around the color wheel; saturation, lightness, and the CMYK inks are percentages.

ModelChannelsNotes
RGBR 48 · G 47 · B 88-bit channels as sent to the display
HSLH 59° · S 71% · L 11%Easiest model for building lighter and darker variants
HSVH 59° · S 83% · V 19%Matches the picker in most design tools
CMYKC 0% · M 2% · Y 83% · K 81%Approximate ink mix; confirm with an ICC profile before printing
Luminance13.67:1 vs white · 1.54:1 vs blackWCAG 2.2 relative-luminance contrast ratios

Text Contrast & Accessibility

WCAG 2.2 contrast ratios for text on a #302F08 background. AA requires 4.5:1 for normal text and 3:1 for large text; AAA requires 7:1. Contrast is one check, not a full accessibility review.

TextWhite text13.67:1AA normal AA large AAA normal
Fails AABlack text1.54:1AA normal AA large AAA normal

Need a specific ratio against another background? Open #302F08 in the contrast checker.

Colors That Go With #302F08

Pairings derived from color-wheel relationships. The complementary color sits opposite #302F08; analogous colors sit beside it; triadic and split-complementary sets spread evenly around the wheel. Select any swatch for its own breakdown.

Base
Complementary
Analogous
Analogous
Triadic
Triadic
Split comp.
Split comp.

Tints & Shades of #302F08

Lighter tints and darker shades built by moving the lightness channel while holding hue and saturation, which is what you want for hover states, backgrounds, and text variants.

Tints

Shades

Want a full 50-950 ramp with semantic roles? Generate design tokens from #302F08.

How #302F08 Looks with Color Vision Deficiency

Simulated with the Viénot, Brettel & Mollon LMS projection model. Anomalous types are rendered as partial versions of the matching dichromacy, which is an approximation rather than a per-person clinical model.

Typical#302F08
Protanopia#2F2F08
Protanomaly#302F08
Deuteranopia#2F2F08
Deuteranomaly#302F08
Tritanopia#332C2C
Tritanomaly#322D22
Achromatopsia#2E2E2E

Test a full palette in the color blindness simulator.

Using #302F08 in Code

Copy-ready declarations for the places this color usually ends up.

CSS custom property--color-302f08: #302F08;
CSS backgroundbackground-color: #302F08;
Tailwind configcolors: { 'color-302f08': '#302F08' }
SwiftUIColor(red: 0.188, green: 0.184, blue: 0.031)
Android XML<color name="color_302f08">#302F08</color>
SVG fillfill="#302F08"

More Yellow Colors

#302F08 sits in the yellow family. These are its neighbours across that family's full range, each with its own breakdown.

#302F08 Frequently Asked Questions

What color is #302F08?

#302F08 is a darkest yellow — rgb(48, 47, 8) in RGB and hsl(59, 71%, 11%) in HSL. It carries no registered color name of its own; the closest named color is Dark Olive (#3C341F), which is visibly different at a CIE76 distance of 10.4.

What is the RGB value of #302F08?

#302F08 is rgb(48, 47, 8) — red 48, green 47, and blue 8 on the 0-255 scale.

What is the CMYK value of #302F08?

#302F08 converts to approximately cmyk(0%, 2%, 83%, 81%). CMYK output is a mathematical approximation for planning; confirm production print colors with your printer and ICC profile.

Should text on #302F08 be black or white?

White text is the more readable choice. #302F08 scores 13.67:1 against white and 1.54:1 against black, and WCAG 2.2 asks for at least 4.5:1 for normal body text.

Can I write #302F08 as a CSS color keyword?

No. #302F08 is not one of the CSS color keywords, so it has to be written as a hex, rgb() or hsl() value. The closest keyword is darkolivegreen (#556B2F) at a CIE76 distance of 27.59, which is a different colour altogether.

Open #302F08 in a Tool

Keep exploring: every yellow in the color library, the guide to shades of yellow, or the full color library.