#213E08#213E08

#213E08 is a dark, moderate yellow-green. Relative luminance 0.038; OKLCH L 32.9% C 0.086 H 134.1°. Best body text is #FFFFFF at 11.95:1 contrast (WCAG AA passes).

Color values

HEX#213E08
RGBrgb(33, 62, 8)
HSLhsl(92, 77%, 14%)
HSVhsv(92, 87%, 24%)
CMYKcmyk(46.8%, 0%, 87.1%, 75.7%)
CIE-LABlab(22.95, -21.33, 27.64)
CIE-LCHlch(22.95, 34.91, 127.67°)
OKLaboklab(32.87% -0.0599 0.0617)
OKLCHoklch(32.87% 0.086 134.1)
XYZxyz(2.3936, 3.7860, 0.8343)
Luminance0.0379 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E08 #25083E
analogous
#3C3E08 #213E08 #083E0A
triadic
#213E08 #08213E #3E0821
tetradic
#213E08 #083C3E #25083E #3E0A08
square
#213E08 #083C3E #25083E #3E0A08
split-complementary
#213E08 #0A083E #3E083C
monochromatic
#0E1B03 #0E1B03 #213E08 #3E740F #5BAA16

Accessibility & contrast

On white

11.95
#213E08 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.76
#213E08 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213E08
11.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213E08#FFFFFF#000000##FFFFFF
##213E081.0011.951.7611.95
#FFFFFF11.951.0021.001.00
#0000001.7621.001.0021.00
##FFFFFF11.951.0021.001.00

Color blindness preview

Protanopia (red-blind)
#413801
Deuteranopia (green-blind)
#3D360E
Tritanopia (blue-blind)
#213B34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #213e08;
/* rgb */ color: rgb(33, 62, 8);
/* oklch */ color: oklch(32.9% 0.086 134.1);
Tailwind
colors: {
  custom: {
    50: '#60734c',
    500: '#213e08',
    950: '#000000',
  },
}
SCSS
$custom: #213e08;
$custom-light: #60734c;
$custom-dark: #000000;
JSON
{
  "hex": "#213e08",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 8
  },
  "hsl": {
    "h": 92.222,
    "s": 77.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.32865,
    "c": 0.08599,
    "h": 134.1
  },
  "luminance": 0.03786
}

Semantic roles & 50–950 ramp

primary
#213E08
secondary
#54257D
accent
#34F49B
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #213E08

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

Preview Lab → · Contrast checker → · Palette generator →

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