#213905#213905

#213905 is a dark, moderate yellow-green. Relative luminance 0.033; OKLCH L 31.3% C 0.081 H 131.8°. Best body text is #FFFFFF at 12.71:1 contrast (WCAG AA passes).

Color values

HEX#213905
RGBrgb(33, 57, 5)
HSLhsl(88, 84%, 12%)
HSVhsv(88, 91%, 22%)
CMYKcmyk(42.1%, 0%, 91.2%, 77.6%)
CIE-LABlab(21.06, -19.04, 26.85)
CIE-LCHlch(21.06, 32.91, 125.34°)
OKLaboklab(31.31% -0.054 0.0603)
OKLCHoklch(31.31% 0.081 131.8)
XYZxyz(2.1177, 3.2605, 0.6613)
Luminance0.0326 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#213905 #1D0539
analogous
#393705 #213905 #073905
triadic
#213905 #052139 #390521
tetradic
#213905 #053937 #1D0539 #390507
square
#213905 #053937 #1D0539 #390507
split-complementary
#213905 #050739 #370539
monochromatic
#101C02 #101C02 #213905 #42710A #62AA0F

Accessibility & contrast

On white

12.71
#213905 on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.65
#213905 on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #213905
12.71:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##213905#FFFFFF#000000##FFFFFF
##2139051.0012.711.6512.71
#FFFFFF12.711.0021.001.00
#0000001.6521.001.0021.00
##FFFFFF12.711.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3C3400
Deuteranopia (green-blind)
#39320A
Tritanopia (blue-blind)
#22362F
Achromatopsia (no color)
#333333

Design tokens & code

CSS
--color: #213905;
/* rgb */ color: rgb(33, 57, 5);
/* oklch */ color: oklch(31.3% 0.081 131.8);
Tailwind
colors: {
  custom: {
    50: '#5f6f4a',
    500: '#213905',
    950: '#000000',
  },
}
SCSS
$custom: #213905;
$custom-light: #5f6f4a;
$custom-dark: #000000;
JSON
{
  "hex": "#213905",
  "rgb": {
    "r": 33,
    "g": 57,
    "b": 5
  },
  "hsl": {
    "h": 87.692,
    "s": 83.871,
    "l": 12.157
  },
  "oklch": {
    "l": 0.31309,
    "c": 0.08096,
    "h": 131.8
  },
  "luminance": 0.03261
}

Semantic roles & 50–950 ramp

primary
#213905
secondary
#49207A
accent
#2EFA8C
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#050701
muted
#797A77

Preview Lab

Preview with #213905

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

Preview Lab → · Contrast checker → · Palette generator →

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