#302D08#302D08

#302D08 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.2% C 0.054 H 104.7°. Best body text is #FFFFFF at 13.96:1 contrast (WCAG AA passes).

Color values

HEX#302D08
RGBrgb(48, 45, 8)
HSLhsl(56, 71%, 11%)
HSVhsv(56, 83%, 19%)
CMYKcmyk(0%, 6.2%, 83.3%, 81.2%)
CIE-LABlab(18.02, -4.12, 22.48)
CIE-LCHlch(18.02, 22.85, 100.39°)
OKLaboklab(29.19% -0.0136 0.052)
OKLCHoklch(29.19% 0.054 104.7)
XYZxyz(2.2012, 2.5228, 0.6007)
Luminance0.0252 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D08 #080B30
analogous
#301908 #302D08 #1F3008
triadic
#302D08 #08302D #2D0830
tetradic
#302D08 #083019 #080B30 #30081F
square
#302D08 #083019 #080B30 #30081F
split-complementary
#302D08 #081F30 #190830
monochromatic
#1A1904 #1A1904 #302D08 #645E11 #998F19

Accessibility & contrast

On white

13.96
#302D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#302D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302D08
13.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D08#FFFFFF#000000##FFFFFF
##302D081.0013.961.5013.96
#FFFFFF13.961.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.961.0021.001.00

Color blindness preview

Protanopia (red-blind)
#322B04
Deuteranopia (green-blind)
#332D0A
Tritanopia (blue-blind)
#342926
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #302d08;
/* rgb */ color: rgb(48, 45, 8);
/* oklch */ color: oklch(29.2% 0.054 104.7);
Tailwind
colors: {
  custom: {
    50: '#6a654b',
    500: '#302d08',
    950: '#000000',
  },
}
SCSS
$custom: #302d08;
$custom-light: #6a654b;
$custom-dark: #000000;
JSON
{
  "hex": "#302d08",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 8
  },
  "hsl": {
    "h": 55.5,
    "s": 71.429,
    "l": 10.98
  },
  "oklch": {
    "l": 0.29187,
    "c": 0.05375,
    "h": 104.7
  },
  "luminance": 0.02523
}

Semantic roles & 50–950 ramp

primary
#302D08
secondary
#252A6F
accent
#47EE3A
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #302D08

Body copy rendered with the generated semantic roles for this colour.

Preview Lab → · Contrast checker → · Palette generator →

#302D08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva