#302C20#302C20

#302C20 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.4% C 0.021 H 91.8°. Best body text is #FFFFFF at 13.94:1 contrast (WCAG AA passes).

Color values

HEX#302C20
RGBrgb(48, 44, 32)
HSLhsl(45, 20%, 16%)
HSVhsv(45, 33%, 19%)
CMYKcmyk(0%, 8.3%, 33.3%, 81.2%)
CIE-LABlab(18.07, -0.58, 8.47)
CIE-LCHlch(18.07, 8.49, 93.90°)
OKLaboklab(29.35% -0.0007 0.0214)
OKLCHoklch(29.35% 0.021 91.8)
XYZxyz(2.3803, 2.5341, 1.7300)
Luminance0.0253 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C20 #202430
analogous
#302420 #302C20 #2C3020
triadic
#302C20 #20302C #2C2030
tetradic
#302C20 #203024 #202430 #30202C
square
#302C20 #203024 #202430 #30202C
split-complementary
#302C20 #202C30 #242030
monochromatic
#12110C #12110C #302C20 #554E38 #796F51

Accessibility & contrast

On white

13.94
#302C20 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302C20
13.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C20#FFFFFF#000000##FFFFFF
##302C201.0013.941.5113.94
#FFFFFF13.941.0021.001.00
#0000001.5121.001.0021.00
##FFFFFF13.941.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B1F
Deuteranopia (green-blind)
#302D20
Tritanopia (blue-blind)
#332A29
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #302c20;
/* rgb */ color: rgb(48, 44, 32);
/* oklch */ color: oklch(29.4% 0.021 91.8);
Tailwind
colors: {
  custom: {
    50: '#68655b',
    500: '#302c20',
    950: '#000000',
  },
}
SCSS
$custom: #302c20;
$custom-light: #68655b;
$custom-dark: #000000;
JSON
{
  "hex": "#302c20",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 32
  },
  "hsl": {
    "h": 45,
    "s": 20,
    "l": 15.686
  },
  "oklch": {
    "l": 0.29354,
    "c": 0.02144,
    "h": 91.8
  },
  "luminance": 0.02534
}

Semantic roles & 50–950 ramp

primary
#302C20
secondary
#4A5062
accent
#80BD6B
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060504
muted
#7A7A79

Preview Lab

Preview with #302C20

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

Preview Lab → · Contrast checker → · Palette generator →

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