#302E20#302E20

#302E20 is a dark, muted yellow. Relative luminance 0.027; OKLCH L 29.9% C 0.024 H 100.9°. Best body text is #FFFFFF at 13.66:1 contrast (WCAG AA passes).

Color values

HEX#302E20
RGBrgb(48, 46, 32)
HSLhsl(53, 20%, 16%)
HSVhsv(53, 33%, 19%)
CMYKcmyk(0%, 4.2%, 33.3%, 81.2%)
CIE-LABlab(18.74, -1.92, 9.38)
CIE-LCHlch(18.74, 9.57, 101.58°)
OKLaboklab(29.88% -0.0045 0.0236)
OKLCHoklch(29.88% 0.024 100.9)
XYZxyz(2.4566, 2.6867, 1.7554)
Luminance0.0269 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302E20 #202230
analogous
#302620 #302E20 #2A3020
triadic
#302E20 #20302E #2E2030
tetradic
#302E20 #203026 #202230 #30202A
square
#302E20 #203026 #202230 #30202A
split-complementary
#302E20 #202A30 #262030
monochromatic
#12120C #12120C #302E20 #555138 #797451

Accessibility & contrast

On white

13.66
#302E20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.54
#302E20 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302E20
13.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302E20#FFFFFF#000000##FFFFFF
##302E201.0013.661.5413.66
#FFFFFF13.661.0021.001.00
#0000001.5421.001.0021.00
##FFFFFF13.661.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312D1F
Deuteranopia (green-blind)
#312E20
Tritanopia (blue-blind)
#322C2A
Achromatopsia (no color)
#2E2E2E

Design tokens & code

CSS
--color: #302e20;
/* rgb */ color: rgb(48, 46, 32);
/* oklch */ color: oklch(29.9% 0.024 100.9);
Tailwind
colors: {
  custom: {
    50: '#68665b',
    500: '#302e20',
    950: '#000000',
  },
}
SCSS
$custom: #302e20;
$custom-light: #68665b;
$custom-dark: #000000;
JSON
{
  "hex": "#302e20",
  "rgb": {
    "r": 48,
    "g": 46,
    "b": 32
  },
  "hsl": {
    "h": 52.5,
    "s": 20,
    "l": 15.686
  },
  "oklch": {
    "l": 0.29883,
    "c": 0.02406,
    "h": 100.9
  },
  "luminance": 0.02687
}

Semantic roles & 50–950 ramp

primary
#302E20
secondary
#4A4D62
accent
#75BD6B
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060604
muted
#7A7A79

Preview Lab

Preview with #302E20

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

Preview Lab → · Contrast checker → · Palette generator →

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