#302C0D#302C0D

#302C0D is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.0% C 0.048 H 102.0°. Best body text is #FFFFFF at 14.08:1 contrast (WCAG AA passes).

Color values

HEX#302C0D
RGBrgb(48, 44, 13)
HSLhsl(53, 57%, 12%)
HSVhsv(53, 73%, 19%)
CMYKcmyk(0%, 8.3%, 72.9%, 81.2%)
CIE-LABlab(17.73, -3.07, 19.99)
CIE-LCHlch(17.73, 20.22, 98.72°)
OKLaboklab(28.97% -0.0099 0.0466)
OKLCHoklch(28.97% 0.048 102)
XYZxyz(2.1923, 2.4589, 0.7398)
Luminance0.0246 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C0D #0D1130
analogous
#301B0D #302C0D #23300D
triadic
#302C0D #0D302C #2C0D30
tetradic
#302C0D #0D301B #0D1130 #300D23
square
#302C0D #0D301B #0D1130 #300D23
split-complementary
#302C0D #0D2330 #1B0D30
monochromatic
#181607 #181607 #302C0D #60581A #908427

Accessibility & contrast

On white

14.08
#302C0D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.49
#302C0D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #302C0D
14.08:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C0D#FFFFFF#000000##FFFFFF
##302C0D1.0014.081.4914.08
#FFFFFF14.081.0021.001.00
#0000001.4921.001.0021.00
##FFFFFF14.081.0021.001.00

Color blindness preview

Protanopia (red-blind)
#312A0A
Deuteranopia (green-blind)
#322C0F
Tritanopia (blue-blind)
#342925
Achromatopsia (no color)
#2B2B2B

Design tokens & code

CSS
--color: #302c0d;
/* rgb */ color: rgb(48, 44, 13);
/* oklch */ color: oklch(29.0% 0.048 102.0);
Tailwind
colors: {
  custom: {
    50: '#6a644d',
    500: '#302c0d',
    950: '#000000',
  },
}
SCSS
$custom: #302c0d;
$custom-light: #6a644d;
$custom-dark: #000000;
JSON
{
  "hex": "#302c0d",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 13
  },
  "hsl": {
    "h": 53.143,
    "s": 57.377,
    "l": 11.961
  },
  "oklch": {
    "l": 0.28974,
    "c": 0.04762,
    "h": 102
  },
  "luminance": 0.02459
}

Semantic roles & 50–950 ramp

primary
#302C0D
secondary
#2E356B
accent
#59E147
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060501
muted
#7A7A77

Preview Lab

Preview with #302C0D

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

Preview Lab → · Contrast checker → · Palette generator →

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