#212508#212508

#212508 is a dark, muted yellow. Relative luminance 0.017; OKLCH L 25.3% C 0.047 H 116.5°. Best body text is #FFFFFF at 15.76:1 contrast (WCAG AA passes).

Color values

HEX#212508
RGBrgb(33, 37, 8)
HSLhsl(68, 64%, 9%)
HSVhsv(68, 78%, 15%)
CMYKcmyk(10.8%, 0%, 78.4%, 85.5%)
CIE-LABlab(13.61, -7.08, 16.60)
CIE-LCHlch(13.61, 18.05, 113.11°)
OKLaboklab(25.29% -0.0208 0.0418)
OKLCHoklch(25.29% 0.047 116.5)
XYZxyz(1.3326, 1.6640, 0.4807)
Luminance0.0166 (WCAG relative)
Temperaturewarm
Familyyellow

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212508 #0C0825
analogous
#251B08 #212508 #132508
triadic
#212508 #082125 #250821
tetradic
#212508 #08251B #0C0825 #250813
square
#212508 #08251B #0C0825 #250813
split-complementary
#212508 #081325 #1B0825
monochromatic
#161905 #161905 #212508 #4E5713 #7B8A1E

Accessibility & contrast

On white

15.76
#212508 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.33
#212508 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212508
15.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212508#FFFFFF#000000##FFFFFF
##2125081.0015.761.3315.76
#FFFFFF15.761.0021.001.00
#0000001.3321.001.0021.00
##FFFFFF15.761.0021.001.00

Color blindness preview

Protanopia (red-blind)
#282305
Deuteranopia (green-blind)
#28230A
Tritanopia (blue-blind)
#24221F
Achromatopsia (no color)
#232323

Design tokens & code

CSS
--color: #212508;
/* rgb */ color: rgb(33, 37, 8);
/* oklch */ color: oklch(25.3% 0.047 116.5);
Tailwind
colors: {
  custom: {
    50: '#5d5f4a',
    500: '#212508',
    950: '#000000',
  },
}
SCSS
$custom: #212508;
$custom-light: #5d5f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#212508",
  "rgb": {
    "r": 33,
    "g": 37,
    "b": 8
  },
  "hsl": {
    "h": 68.276,
    "s": 64.444,
    "l": 8.824
  },
  "oklch": {
    "l": 0.25286,
    "c": 0.04672,
    "h": 116.5
  },
  "luminance": 0.01664
}

Semantic roles & 50–950 ramp

primary
#212508
secondary
#2E2663
accent
#40E757
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040401
muted
#797977

Preview Lab

Preview with #212508

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

Preview Lab → · Contrast checker → · Palette generator →

#212508 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva