#213908#213908

#213908 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.3% C 0.079 H 132.4°. Best body text is #FFFFFF at 12.70:1 contrast (WCAG AA passes).

Color values

HEX#213908
RGBrgb(33, 57, 8)
HSLhsl(89, 75%, 13%)
HSVhsv(89, 86%, 22%)
CMYKcmyk(42.1%, 0%, 86%, 77.6%)
CIE-LABlab(21.08, -18.78, 25.65)
CIE-LCHlch(21.08, 31.80, 126.21°)
OKLaboklab(31.34% -0.053 0.0579)
OKLCHoklch(31.34% 0.079 132.4)
XYZxyz(2.1341, 3.2670, 0.7478)
Luminance0.0327 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213908 #200839
analogous
#393808 #213908 #083908
triadic
#213908 #082139 #390821
tetradic
#213908 #083938 #200839 #390808
square
#213908 #083938 #200839 #390808
split-complementary
#213908 #080839 #380839
monochromatic
#101B04 #101B04 #213908 #406F10 #5FA417

Accessibility & contrast

On white

12.70
#213908 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#213908 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213908
12.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213908#FFFFFF#000000##FFFFFF
##2139081.0012.701.6512.70
#FFFFFF12.701.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.701.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3402
Deuteranopia (green-blind)
#39320D
Tritanopia (blue-blind)
#213630
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213908;
/* rgb */ color: rgb(33, 57, 8);
/* oklch */ color: oklch(31.3% 0.079 132.4);
Tailwind
colors: {
  custom: {
    50: '#5f6f4b',
    500: '#213908',
    950: '#000000',
  },
}
SCSS
$custom: #213908;
$custom-light: #5f6f4b;
$custom-dark: #000000;
JSON
{
  "hex": "#213908",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 8
  },
  "hsl": {
    "h": 89.388,
    "s": 75.385,
    "l": 12.745
  },
  "oklch": {
    "l": 0.31337,
    "c": 0.07851,
    "h": 132.4
  },
  "luminance": 0.03267
}

Semantic roles & 50–950 ramp

primary
#213908
secondary
#4E2578
accent
#36F292
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213908

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

Preview Lab → · Contrast checker → · Palette generator →

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