#213807#213807

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

Color values

HEX#213807
RGBrgb(33, 56, 7)
HSLhsl(88, 78%, 12%)
HSVhsv(88, 88%, 22%)
CMYKcmyk(41.1%, 0%, 87.5%, 78%)
CIE-LABlab(20.70, -18.34, 25.64)
CIE-LCHlch(20.70, 31.52, 125.58°)
OKLaboklab(31.02% -0.0519 0.058)
OKLCHoklch(31.02% 0.078 131.8)
XYZxyz(2.0797, 3.1669, 0.7027)
Luminance0.0317 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213807 #1E0738
analogous
#383707 #213807 #093807
triadic
#213807 #072138 #380721
tetradic
#213807 #073837 #1E0738 #380709
square
#213807 #073837 #1E0738 #380709
split-complementary
#213807 #070938 #370738
monochromatic
#101B03 #101B03 #213807 #416E0E #61A515

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##213807#FFFFFF#000000##FFFFFF
##2138071.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)
#3B3301
Deuteranopia (green-blind)
#38310C
Tritanopia (blue-blind)
#22352F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #213807;
/* rgb */ color: rgb(33, 56, 7);
/* oklch */ color: oklch(31.0% 0.078 131.8);
Tailwind
colors: {
  custom: {
    50: '#5f6e4b',
    500: '#213807',
    950: '#000000',
  },
}
SCSS
$custom: #213807;
$custom-light: #5f6e4b;
$custom-dark: #000000;
JSON
{
  "hex": "#213807",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 7
  },
  "hsl": {
    "h": 88.163,
    "s": 77.778,
    "l": 12.353
  },
  "oklch": {
    "l": 0.31022,
    "c": 0.0778,
    "h": 131.8
  },
  "luminance": 0.03167
}

Semantic roles & 50–950 ramp

primary
#213807
secondary
#4B2378
accent
#34F48E
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213807

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

Preview Lab → · Contrast checker → · Palette generator →

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