#302B09#302B09

#302B09 is a dark, muted yellow. Relative luminance 0.024; OKLCH L 28.7% C 0.051 H 100.8°. Best body text is #FFFFFF at 14.24:1 contrast (WCAG AA passes).

Color values

HEX#302B09
RGBrgb(48, 43, 9)
HSLhsl(52, 68%, 11%)
HSVhsv(52, 81%, 19%)
CMYKcmyk(0%, 10.4%, 81.3%, 81.2%)
CIE-LABlab(17.35, -2.73, 21.26)
CIE-LCHlch(17.35, 21.43, 97.30°)
OKLaboklab(28.66% -0.0095 0.0496)
OKLCHoklch(28.66% 0.051 100.8)
XYZxyz(2.1322, 2.3759, 0.6047)
Luminance0.0238 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302B09 #090E30
analogous
#301709 #302B09 #213009
triadic
#302B09 #09302B #2B0930
tetradic
#302B09 #093017 #090E30 #300921
square
#302B09 #093017 #090E30 #300921
split-complementary
#302B09 #092130 #170930
monochromatic
#1A1705 #1A1705 #302B09 #645913 #97871C

Accessibility & contrast

On white

14.24
#302B09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.48
#302B09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302B09
14.24:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302B09#FFFFFF#000000##FFFFFF
##302B091.0014.241.4814.24
#FFFFFF14.241.0021.001.00
#0000001.4821.001.0021.00
##FFFFFF14.241.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302905
Deuteranopia (green-blind)
#312B0B
Tritanopia (blue-blind)
#342724
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302b09;
/* rgb */ color: rgb(48, 43, 9);
/* oklch */ color: oklch(28.7% 0.051 100.8);
Tailwind
colors: {
  custom: {
    50: '#6a644b',
    500: '#302b09',
    950: '#000000',
  },
}
SCSS
$custom: #302b09;
$custom-light: #6a644b;
$custom-dark: #000000;
JSON
{
  "hex": "#302b09",
  "rgb": {
    "r": 48,
    "g": 43,
    "b": 9
  },
  "hsl": {
    "h": 52.308,
    "s": 68.421,
    "l": 11.176
  },
  "oklch": {
    "l": 0.28655,
    "c": 0.05053,
    "h": 100.8
  },
  "luminance": 0.02376
}

Semantic roles & 50–950 ramp

primary
#302B09
secondary
#27306E
accent
#53EB3D
background
#F6F5F4
surface
#EBEAE7
border
#C6C6C3
text
#060501
muted
#7A7977

Preview Lab

Preview with #302B09

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

Preview Lab → · Contrast checker → · Palette generator →

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