#213808#213808

#213808 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.0% C 0.077 H 132.0°. Best body text is #FFFFFF at 12.85:1 contrast (WCAG AA passes).

Color values

HEX#213808
RGBrgb(33, 56, 8)
HSLhsl(89, 75%, 13%)
HSVhsv(89, 86%, 22%)
CMYKcmyk(41.1%, 0%, 85.7%, 78%)
CIE-LABlab(20.71, -18.26, 25.24)
CIE-LCHlch(20.71, 31.15, 125.88°)
OKLaboklab(31.03% -0.0515 0.0572)
OKLCHoklch(31.03% 0.077 132)
XYZxyz(2.0852, 3.1691, 0.7315)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213808 #1F0838
analogous
#383708 #213808 #093808
triadic
#213808 #082138 #380821
tetradic
#213808 #083837 #1F0838 #380809
square
#213808 #083837 #1F0838 #380809
split-complementary
#213808 #080938 #370838
monochromatic
#101B04 #101B04 #213808 #416E10 #60A317

Accessibility & contrast

On white

12.85
#213808 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#213808 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213808
12.85:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213808#FFFFFF#000000##FFFFFF
##2138081.0012.851.6312.85
#FFFFFF12.851.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.851.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3302
Deuteranopia (green-blind)
#38310D
Tritanopia (blue-blind)
#22352F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #213808;
/* rgb */ color: rgb(33, 56, 8);
/* oklch */ color: oklch(31.0% 0.077 132.0);
Tailwind
colors: {
  custom: {
    50: '#5f6e4b',
    500: '#213808',
    950: '#000000',
  },
}
SCSS
$custom: #213808;
$custom-light: #5f6e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#213808",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 8
  },
  "hsl": {
    "h": 88.75,
    "s": 75,
    "l": 12.549
  },
  "oklch": {
    "l": 0.31032,
    "c": 0.07698,
    "h": 132
  },
  "luminance": 0.03169
}

Semantic roles & 50–950 ramp

primary
#213808
secondary
#4C2577
accent
#36F290
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213808

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

Preview Lab → · Contrast checker → · Palette generator →

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