#213C08#213C08

#213C08 is a dark, moderate yellow-green. Relative luminance 0.036; OKLCH L 32.3% C 0.083 H 133.5°. Best body text is #FFFFFF at 12.25:1 contrast (WCAG AA passes).

Color values

HEX#213C08
RGBrgb(33, 60, 8)
HSLhsl(91, 76%, 13%)
HSVhsv(91, 87%, 24%)
CMYKcmyk(45%, 0%, 86.7%, 76.5%)
CIE-LABlab(22.20, -20.33, 26.86)
CIE-LCHlch(22.20, 33.69, 127.12°)
OKLaboklab(32.25% -0.0572 0.0602)
OKLCHoklch(32.25% 0.083 133.5)
XYZxyz(2.2868, 3.5725, 0.7987)
Luminance0.0357 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213C08 #23083C
analogous
#3B3C08 #213C08 #083C09
triadic
#213C08 #08213C #3C0821
tetradic
#213C08 #083B3C #23083C #3C0908
square
#213C08 #083B3C #23083C #3C0908
split-complementary
#213C08 #09083C #3C083B
monochromatic
#0F1B04 #0F1B04 #213C08 #3F720F #5CA816

Accessibility & contrast

On white

12.25
#213C08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.71
#213C08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213C08
12.25:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213C08#FFFFFF#000000##FFFFFF
##213C081.0012.251.7112.25
#FFFFFF12.251.0021.001.00
#0000001.7121.001.0021.00
##FFFFFF12.251.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3F3601
Deuteranopia (green-blind)
#3B340D
Tritanopia (blue-blind)
#213932
Achromatopsia (no color)
#353535

Design tokens & code

CSS
--color: #213c08;
/* rgb */ color: rgb(33, 60, 8);
/* oklch */ color: oklch(32.3% 0.083 133.5);
Tailwind
colors: {
  custom: {
    50: '#5f724c',
    500: '#213c08',
    950: '#000000',
  },
}
SCSS
$custom: #213c08;
$custom-light: #5f724c;
$custom-dark: #000000;
JSON
{
  "hex": "#213c08",
  "rgb": {
    "r": 33,
    "g": 60,
    "b": 8
  },
  "hsl": {
    "h": 91.154,
    "s": 76.471,
    "l": 13.333
  },
  "oklch": {
    "l": 0.32254,
    "c": 0.08303,
    "h": 133.5
  },
  "luminance": 0.03573
}

Semantic roles & 50–950 ramp

primary
#213C08
secondary
#52257B
accent
#35F398
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050801
muted
#797B77

Preview Lab

Preview with #213C08

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

Preview Lab → · Contrast checker → · Palette generator →

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