#213A09#213A09

#213A09 is a dark, moderate yellow-green. Relative luminance 0.034; OKLCH L 31.7% C 0.079 H 133.0°. Best body text is #FFFFFF at 12.55:1 contrast (WCAG AA passes).

Color values

HEX#213A09
RGBrgb(33, 58, 9)
HSLhsl(91, 73%, 13%)
HSVhsv(91, 84%, 23%)
CMYKcmyk(43.1%, 0%, 84.5%, 77.3%)
CIE-LABlab(21.47, -19.22, 25.66)
CIE-LCHlch(21.47, 32.06, 126.83°)
OKLaboklab(31.65% -0.0541 0.0579)
OKLCHoklch(31.65% 0.079 133)
XYZxyz(2.1895, 3.3691, 0.7933)
Luminance0.0337 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213A09 #22093A
analogous
#393A09 #213A09 #093A09
triadic
#213A09 #09213A #3A0921
tetradic
#213A09 #09393A #22093A #3A0909
square
#213A09 #09393A #22093A #3A0909
split-complementary
#213A09 #09093A #3A0939
monochromatic
#0F1A04 #0F1A04 #213A09 #3F6F11 #5DA419

Accessibility & contrast

On white

12.55
#213A09 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.67
#213A09 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213A09
12.55:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213A09#FFFFFF#000000##FFFFFF
##213A091.0012.551.6712.55
#FFFFFF12.551.0021.001.00
#0000001.6721.001.0021.00
##FFFFFF12.551.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3D3503
Deuteranopia (green-blind)
#39330E
Tritanopia (blue-blind)
#213731
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213a09;
/* rgb */ color: rgb(33, 58, 9);
/* oklch */ color: oklch(31.7% 0.079 133.0);
Tailwind
colors: {
  custom: {
    50: '#5f704c',
    500: '#213a09',
    950: '#000000',
  },
}
SCSS
$custom: #213a09;
$custom-light: #5f704c;
$custom-dark: #000000;
JSON
{
  "hex": "#213a09",
  "rgb": {
    "r": 33,
    "g": 58,
    "b": 9
  },
  "hsl": {
    "h": 90.612,
    "s": 73.134,
    "l": 13.137
  },
  "oklch": {
    "l": 0.31652,
    "c": 0.07924,
    "h": 133
  },
  "luminance": 0.03369
}

Semantic roles & 50–950 ramp

primary
#213A09
secondary
#502778
accent
#38F096
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213A09

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

Preview Lab → · Contrast checker → · Palette generator →

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