#302C16#302C16

#302C16 is a dark, muted yellow. Relative luminance 0.025; OKLCH L 29.1% C 0.036 H 99.2°. Best body text is #FFFFFF at 14.02:1 contrast (WCAG AA passes).

Color values

HEX#302C16
RGBrgb(48, 44, 22)
HSLhsl(51, 37%, 14%)
HSVhsv(51, 54%, 19%)
CMYKcmyk(0%, 8.3%, 54.2%, 81.2%)
CIE-LABlab(17.86, -2.09, 14.89)
CIE-LCHlch(17.86, 15.04, 97.98°)
OKLaboklab(29.12% -0.0058 0.036)
OKLCHoklch(29.12% 0.036 99.2)
XYZxyz(2.2645, 2.4877, 1.1198)
Luminance0.0249 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#302C16 #161A30
analogous
#301F16 #302C16 #273016
triadic
#302C16 #16302C #2C1630
tetradic
#302C16 #16301F #161A30 #301627
square
#302C16 #16301F #161A30 #301627
split-complementary
#302C16 #162730 #1F1630
monochromatic
#15130A #15130A #302C16 #5A5229 #84793C

Accessibility & contrast

On white

14.02
#302C16 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #302C16
14.02:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##302C16#FFFFFF#000000##FFFFFF
##302C161.0014.021.5014.02
#FFFFFF14.021.0021.001.00
#0000001.5021.001.0021.00
##FFFFFF14.021.0021.001.00

Color blindness preview

Protanopia (red-blind)
#302B14
Deuteranopia (green-blind)
#312C17
Tritanopia (blue-blind)
#342927
Achromatopsia (no color)
#2C2C2C

Design tokens & code

CSS
--color: #302c16;
/* rgb */ color: rgb(48, 44, 22);
/* oklch */ color: oklch(29.1% 0.036 99.2);
Tailwind
colors: {
  custom: {
    50: '#696453',
    500: '#302c16',
    950: '#000000',
  },
}
SCSS
$custom: #302c16;
$custom-light: #696453;
$custom-dark: #000000;
JSON
{
  "hex": "#302c16",
  "rgb": {
    "r": 48,
    "g": 44,
    "b": 22
  },
  "hsl": {
    "h": 50.769,
    "s": 37.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.2912,
    "c": 0.03642,
    "h": 99.2
  },
  "luminance": 0.02488
}

Semantic roles & 50–950 ramp

primary
#302C16
secondary
#3C4266
accent
#6CCD5B
background
#F6F6F4
surface
#EBEBE7
border
#C6C6C3
text
#060502
muted
#7A7A78

Preview Lab

Preview with #302C16

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

Preview Lab → · Contrast checker → · Palette generator →

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