#213D08#213D08

#213D08 is a dark, moderate yellow-green. Relative luminance 0.037; OKLCH L 32.6% C 0.085 H 133.8°. Best body text is #FFFFFF at 12.10:1 contrast (WCAG AA passes).

Color values

HEX#213D08
RGBrgb(33, 61, 8)
HSLhsl(92, 77%, 14%)
HSVhsv(92, 87%, 24%)
CMYKcmyk(45.9%, 0%, 86.9%, 76.1%)
CIE-LABlab(22.58, -20.83, 27.25)
CIE-LCHlch(22.58, 34.30, 127.40°)
OKLaboklab(32.56% -0.0585 0.061)
OKLCHoklch(32.56% 0.085 133.8)
XYZxyz(2.3397, 3.6782, 0.8164)
Luminance0.0368 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213D08 #24083D
analogous
#3B3D08 #213D08 #083D09
triadic
#213D08 #08213D #3D0821
tetradic
#213D08 #083B3D #24083D #3D0908
square
#213D08 #083B3D #24083D #3D0908
split-complementary
#213D08 #09083D #3D083B
monochromatic
#0F1B04 #0F1B04 #213D08 #3E730F #5CA916

Accessibility & contrast

On white

12.10
#213D08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.74
#213D08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213D08
12.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213D08#FFFFFF#000000##FFFFFF
##213D081.0012.101.7412.10
#FFFFFF12.101.0021.001.00
#0000001.7421.001.0021.00
##FFFFFF12.101.0021.001.00

Color blindness preview

Protanopia (red-blind)
#403701
Deuteranopia (green-blind)
#3C350D
Tritanopia (blue-blind)
#213A33
Achromatopsia (no color)
#363636

Design tokens & code

CSS
--color: #213d08;
/* rgb */ color: rgb(33, 61, 8);
/* oklch */ color: oklch(32.6% 0.085 133.8);
Tailwind
colors: {
  custom: {
    50: '#5f724c',
    500: '#213d08',
    950: '#000000',
  },
}
SCSS
$custom: #213d08;
$custom-light: #5f724c;
$custom-dark: #000000;
JSON
{
  "hex": "#213d08",
  "rgb": {
    "r": 33,
    "g": 61,
    "b": 8
  },
  "hsl": {
    "h": 91.698,
    "s": 76.812,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32559,
    "c": 0.08451,
    "h": 133.8
  },
  "luminance": 0.03678
}

Semantic roles & 50–950 ramp

primary
#213D08
secondary
#53257C
accent
#34F399
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050801
muted
#797B77

Preview Lab

Preview with #213D08

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

Preview Lab → · Contrast checker → · Palette generator →

#213D08 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva