#302A09#302A09

#302A09 is a dark, muted yellow. Relative luminance 0.023; OKLCH L 28.4% C 0.049 H 98.8°. Best body text is #FFFFFF at 14.38:1 contrast (WCAG AA passes).

Color values

HEX#302A09
RGBrgb(48, 42, 9)
HSLhsl(51, 68%, 11%)
HSVhsv(51, 81%, 19%)
CMYKcmyk(0%, 12.5%, 81.3%, 81.2%)
CIE-LABlab(17.01, -2.06, 20.85)
CIE-LCHlch(17.01, 20.95, 95.64°)
OKLaboklab(28.39% -0.0076 0.0489)
OKLCHoklch(28.39% 0.049 98.8)
XYZxyz(2.0963, 2.3041, 0.5927)
Luminance0.0230 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302A09 #090F30
analogous
#301609 #302A09 #223009
triadic
#302A09 #09302A #2A0930
tetradic
#302A09 #093016 #090F30 #300922
square
#302A09 #093016 #090F30 #300922
split-complementary
#302A09 #092230 #160930
monochromatic
#1A1705 #1A1705 #302A09 #645713 #97841C

Accessibility & contrast

On white

14.38
#302A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.46
#302A09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302A09
14.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302A09#FFFFFF#000000##FFFFFF
##302A091.0014.381.4614.38
#FFFFFF14.381.0021.001.00
#0000001.4621.001.0021.00
##FFFFFF14.381.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2905
Deuteranopia (green-blind)
#312B0B
Tritanopia (blue-blind)
#342623
Achromatopsia (no color)
#2A2A2A

Design tokens & code

CSS
--color: #302a09;
/* rgb */ color: rgb(48, 42, 9);
/* oklch */ color: oklch(28.4% 0.049 98.8);
Tailwind
colors: {
  custom: {
    50: '#6a634b',
    500: '#302a09',
    950: '#000000',
  },
}
SCSS
$custom: #302a09;
$custom-light: #6a634b;
$custom-dark: #000000;
JSON
{
  "hex": "#302a09",
  "rgb": {
    "r": 48,
    "g": 42,
    "b": 9
  },
  "hsl": {
    "h": 50.769,
    "s": 68.421,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28386,
    "c": 0.04948,
    "h": 98.8
  },
  "luminance": 0.02304
}

Semantic roles & 50–950 ramp

primary
#302A09
secondary
#27326E
accent
#57EB3D
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #302A09

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

Preview Lab → · Contrast checker → · Palette generator →

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