#302C1A#302C1A

#302C1A is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.2% C 0.031 H 97.2°. Best body text is #FFFFFF at 13.99:1 contrast (WCAG AA passes).

Color values

HEX#302C1A
RGBrgb(48, 44, 26)
HSLhsl(49, 30%, 15%)
HSVhsv(49, 46%, 19%)
CMYKcmyk(0%, 8.3%, 45.8%, 81.2%)
CIE-LABlab(17.94, -1.54, 12.35)
CIE-LCHlch(17.94, 12.45, 97.10°)
OKLaboklab(29.21% -0.0038 0.0304)
OKLCHoklch(29.21% 0.031 97.2)
XYZxyz(2.3061, 2.5044, 1.3390)
Luminance0.0250 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C1A #1A1E30
analogous
#30211A #302C1A #29301A
triadic
#302C1A #1A302C #2C1A30
tetradic
#302C1A #1A3021 #1A1E30 #301A29
square
#302C1A #1A3021 #1A1E30 #301A29
split-complementary
#302C1A #1A2930 #211A30
monochromatic
#14120B #14120B #302C1A #585030 #7F7545

Accessibility & contrast

On white

13.99
#302C1A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.50
#302C1A on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C1A
13.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C1A#FFFFFF#000000##FFFFFF
##302C1A1.0013.991.5013.99
#FFFFFF13.991.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF13.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2F2B19
Deuteranopia (green-blind)
#312C1B
Tritanopia (blue-blind)
#332927
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #302c1a;
/* rgb */ color: rgb(48, 44, 26);
/* oklch */ color: oklch(29.2% 0.031 97.2);
Tailwind
colors: {
  custom: {
    50: '#696456',
    500: '#302c1a',
    950: '#000000',
  },
}
SCSS
$custom: #302c1a;
$custom-light: #696456;
$custom-dark: #000000;
JSON
{
  "hex": "#302c1a",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 26
  },
  "hsl": {
    "h": 49.091,
    "s": 29.73,
    "l": 14.51
  },
  "oklch": {
    "l": 0.29205,
    "c": 0.03066,
    "h": 97.2
  },
  "luminance": 0.02504
}

Semantic roles & 50–950 ramp

primary
#302C1A
secondary
#424864
accent
#74C662
background
#F6F6F5
surface
#EBEBE9
border
#C6C6C5
text
#060503
muted
#7A7A78

Preview Lab

Preview with #302C1A

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

Preview Lab → · Contrast checker → · Palette generator →

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