#213E07#213E07

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

Color values

HEX#213E07
RGBrgb(33, 62, 7)
HSLhsl(92, 80%, 14%)
HSVhsv(92, 89%, 24%)
CMYKcmyk(46.8%, 0%, 88.7%, 75.7%)
CIE-LABlab(22.94, -21.41, 28.04)
CIE-LCHlch(22.94, 35.28, 127.37°)
OKLaboklab(32.86% -0.0602 0.0625)
OKLCHoklch(32.86% 0.087 133.9)
XYZxyz(2.3881, 3.7838, 0.8055)
Luminance0.0378 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213E07 #24073E
analogous
#3C3E07 #213E07 #073E08
triadic
#213E07 #07213E #3E0721
tetradic
#213E07 #073C3E #24073E #3E0807
square
#213E07 #073C3E #24073E #3E0807
split-complementary
#213E07 #08073E #3E073C
monochromatic
#0F1B03 #0F1B03 #213E07 #3E750D #5CAC13

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##213E07#FFFFFF#000000##FFFFFF
##213E071.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)
#413800
Deuteranopia (green-blind)
#3D360D
Tritanopia (blue-blind)
#213B34
Achromatopsia (no color)
#373737

Design tokens & code

CSS
--color: #213e07;
/* rgb */ color: rgb(33, 62, 7);
/* oklch */ color: oklch(32.9% 0.087 133.9);
Tailwind
colors: {
  custom: {
    50: '#60734c',
    500: '#213e07',
    950: '#000000',
  },
}
SCSS
$custom: #213e07;
$custom-light: #60734c;
$custom-dark: #000000;
JSON
{
  "hex": "#213e07",
  "rgb": {
    "r": 33,
    "g": 62,
    "b": 7
  },
  "hsl": {
    "h": 91.636,
    "s": 79.71,
    "l": 13.529
  },
  "oklch": {
    "l": 0.32856,
    "c": 0.08673,
    "h": 133.9
  },
  "luminance": 0.03784
}

Semantic roles & 50–950 ramp

primary
#213E07
secondary
#53247D
accent
#32F699
background
#F5F7F4
surface
#EAEDE7
border
#C6C8C3
text
#050801
muted
#797B77

Preview Lab

Preview with #213E07

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

Preview Lab → · Contrast checker → · Palette generator →

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