#212808#212808

#212808 is a dark, muted yellow-green. Relative luminance 0.019; OKLCH L 26.2% C 0.052 H 120.6°. Best body text is #FFFFFF at 15.31:1 contrast (WCAG AA passes).

Color values

HEX#212808
RGBrgb(33, 40, 8)
HSLhsl(73, 67%, 9%)
HSVhsv(73, 80%, 16%)
CMYKcmyk(17.5%, 0%, 80%, 84.3%)
CIE-LABlab(14.73, -9.01, 18.05)
CIE-LCHlch(14.73, 20.18, 116.53°)
OKLaboklab(26.18% -0.0262 0.0444)
OKLCHoklch(26.18% 0.052 120.6)
XYZxyz(1.4298, 1.8585, 0.5131)
Luminance0.0186 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#212808 #0F0828
analogous
#281F08 #212808 #112808
triadic
#212808 #082128 #280821
tetradic
#212808 #08281F #0F0828 #280811
square
#212808 #08281F #0F0828 #280811
split-complementary
#212808 #081128 #1F0828
monochromatic
#151A05 #151A05 #212808 #4B5B12 #758E1C

Accessibility & contrast

On white

15.31
#212808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.37
#212808 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #212808
15.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##212808#FFFFFF#000000##FFFFFF
##2128081.0015.311.3715.31
#FFFFFF15.311.0021.001.00
#0000001.3721.001.0021.00
##FFFFFF15.311.0021.001.00

Color blindness preview

Protanopia (red-blind)
#2B2505
Deuteranopia (green-blind)
#2A250A
Tritanopia (blue-blind)
#232521
Achromatopsia (no color)
#252525

Design tokens & code

CSS
--color: #212808;
/* rgb */ color: rgb(33, 40, 8);
/* oklch */ color: oklch(26.2% 0.052 120.6);
Tailwind
colors: {
  custom: {
    50: '#5d614a',
    500: '#212808',
    950: '#000000',
  },
}
SCSS
$custom: #212808;
$custom-light: #5d614a;
$custom-dark: #000000;
JSON
{
  "hex": "#212808",
  "rgb": {
    "r": 33,
    "g": 40,
    "b": 8
  },
  "hsl": {
    "h": 73.125,
    "s": 66.667,
    "l": 9.412
  },
  "oklch": {
    "l": 0.26179,
    "c": 0.05151,
    "h": 120.6
  },
  "luminance": 0.01858
}

Semantic roles & 50–950 ramp

primary
#212808
secondary
#342567
accent
#3EEA64
background
#F5F5F4
surface
#E9E9E7
border
#C5C5C3
text
#040501
muted
#797977

Preview Lab

Preview with #212808

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

Preview Lab → · Contrast checker → · Palette generator →

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