#213806#213806

#213806 is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.0% C 0.079 H 131.6°. Best body text is #FFFFFF at 12.86:1 contrast (WCAG AA passes).

Color values

HEX#213806
RGBrgb(33, 56, 6)
HSLhsl(88, 81%, 12%)
HSVhsv(88, 89%, 22%)
CMYKcmyk(41.1%, 0%, 89.3%, 78%)
CIE-LABlab(20.69, -18.43, 26.04)
CIE-LCHlch(20.69, 31.90, 125.29°)
OKLaboklab(31.01% -0.0522 0.0588)
OKLCHoklch(31.01% 0.079 131.6)
XYZxyz(2.0742, 3.1647, 0.6738)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213806 #1D0638
analogous
#383606 #213806 #083806
triadic
#213806 #062138 #380621
tetradic
#213806 #063836 #1D0638 #380608
square
#213806 #063836 #1D0638 #380608
split-complementary
#213806 #060838 #360638
monochromatic
#101C03 #101C03 #213806 #426F0C #62A712

Accessibility & contrast

On white

12.86
#213806 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.63
#213806 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213806
12.86:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213806#FFFFFF#000000##FFFFFF
##2138061.0012.861.6312.86
#FFFFFF12.861.0021.001.00
#0000001.6321.001.0021.00
##FFFFFF12.861.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3300
Deuteranopia (green-blind)
#38310B
Tritanopia (blue-blind)
#22352F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #213806;
/* rgb */ color: rgb(33, 56, 6);
/* oklch */ color: oklch(31.0% 0.079 131.6);
Tailwind
colors: {
  custom: {
    50: '#5f6e4a',
    500: '#213806',
    950: '#000000',
  },
}
SCSS
$custom: #213806;
$custom-light: #5f6e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#213806",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 6
  },
  "hsl": {
    "h": 87.6,
    "s": 80.645,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31012,
    "c": 0.07863,
    "h": 131.6
  },
  "luminance": 0.03165
}

Semantic roles & 50–950 ramp

primary
#213806
secondary
#492178
accent
#31F78C
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213806

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

Preview Lab → · Contrast checker → · Palette generator →

#213806 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva