#213805#213805

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

Color values

HEX#213805
RGBrgb(33, 56, 5)
HSLhsl(87, 84%, 12%)
HSVhsv(87, 91%, 22%)
CMYKcmyk(41.1%, 0%, 91.1%, 78%)
CIE-LABlab(20.68, -18.52, 26.44)
CIE-LCHlch(20.68, 32.28, 125.01°)
OKLaboklab(31% -0.0526 0.0596)
OKLCHoklch(31% 0.079 131.4)
XYZxyz(2.0687, 3.1626, 0.6450)
Luminance0.0316 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213805 #1C0538
analogous
#383605 #213805 #073805
triadic
#213805 #052138 #380521
tetradic
#213805 #053836 #1C0538 #380507
square
#213805 #053836 #1C0538 #380507
split-complementary
#213805 #050738 #360538
monochromatic
#111C03 #111C03 #213805 #42700A #63A80F

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##213805#FFFFFF#000000##FFFFFF
##2138051.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)
#38310A
Tritanopia (blue-blind)
#22352F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #213805;
/* rgb */ color: rgb(33, 56, 5);
/* oklch */ color: oklch(31.0% 0.079 131.4);
Tailwind
colors: {
  custom: {
    50: '#5f6e4a',
    500: '#213805',
    950: '#000000',
  },
}
SCSS
$custom: #213805;
$custom-light: #5f6e4a;
$custom-dark: #000000;
JSON
{
  "hex": "#213805",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 5
  },
  "hsl": {
    "h": 87.059,
    "s": 83.607,
    "l": 11.961
  },
  "oklch": {
    "l": 0.31003,
    "c": 0.07948,
    "h": 131.4
  },
  "luminance": 0.03163
}

Semantic roles & 50–950 ramp

primary
#213805
secondary
#482079
accent
#2EFA8A
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213805

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

Preview Lab → · Contrast checker → · Palette generator →

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