#302D11#302D11

#302D11 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.3% C 0.044 H 103.2°. Best body text is #FFFFFF at 13.91:1 contrast (WCAG AA passes).

Color values

HEX#302D11
RGBrgb(48, 45, 17)
HSLhsl(54, 48%, 13%)
HSVhsv(54, 65%, 19%)
CMYKcmyk(0%, 6.2%, 64.6%, 81.2%)
CIE-LABlab(18.12, -3.34, 18.34)
CIE-LCHlch(18.12, 18.64, 100.32°)
OKLaboklab(29.3% -0.0101 0.0431)
OKLCHoklch(29.3% 0.044 103.2)
XYZxyz(2.2586, 2.5457, 0.9026)
Luminance0.0255 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302D11 #111430
analogous
#301E11 #302D11 #233011
triadic
#302D11 #11302D #2D1130
tetradic
#302D11 #11301E #111430 #301123
square
#302D11 #11301E #111430 #301123
split-complementary
#302D11 #112330 #1E1130
monochromatic
#171508 #171508 #302D11 #5D5721 #8A8231

Accessibility & contrast

On white

13.91
#302D11 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.51
#302D11 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302D11
13.91:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302D11#FFFFFF#000000##FFFFFF
##302D111.0013.911.5113.91
#FFFFFF13.911.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.911.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312B0E
Deuteranopia (green-blind)
#322D12
Tritanopia (blue-blind)
#342A27
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #302d11;
/* rgb */ color: rgb(48, 45, 17);
/* oklch */ color: oklch(29.3% 0.044 103.2);
Tailwind
colors: {
  custom: {
    50: '#696550',
    500: '#302d11',
    950: '#000000',
  },
}
SCSS
$custom: #302d11;
$custom-light: #696550;
$custom-dark: #000000;
JSON
{
  "hex": "#302d11",
  "rgb": {
    "r": 48,
    "g": 45,
    "b": 17
  },
  "hsl": {
    "h": 54.194,
    "s": 47.692,
    "l": 12.745
  },
  "oklch": {
    "l": 0.29302,
    "c": 0.04423,
    "h": 103.2
  },
  "luminance": 0.02546
}

Semantic roles & 50–950 ramp

primary
#302D11
secondary
#343969
accent
#5ED751
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060502
muted
#7A7A78

Preview Lab

Preview with #302D11

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

Preview Lab → · Contrast checker → · Palette generator →

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