#21370D#21370D

#21370D is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 30.8% C 0.071 H 132.8°. Best body text is #FFFFFF at 12.99:1 contrast (WCAG AA passes).

Color values

HEX#21370D
RGBrgb(33, 55, 13)
HSLhsl(91, 62%, 13%)
HSVhsv(91, 76%, 22%)
CMYKcmyk(40%, 0%, 76.4%, 78.4%)
CIE-LABlab(20.38, -17.27, 22.73)
CIE-LCHlch(20.38, 28.55, 127.22°)
OKLaboklab(30.78% -0.0484 0.0522)
OKLCHoklch(30.78% 0.071 132.8)
XYZxyz(2.0660, 3.0847, 0.8672)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21370D #230D37
analogous
#36370D #21370D #0D370E
triadic
#21370D #0D2137 #370D21
tetradic
#21370D #0D3637 #230D37 #370E0D
square
#21370D #0D3637 #230D37 #370E0D
split-complementary
#21370D #0E0D37 #370D36
monochromatic
#0F1906 #0F1906 #21370D #3F6819 #5C9A24

Accessibility & contrast

On white

12.99
#21370D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.62
#21370D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21370D
12.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21370D#FFFFFF#000000##FFFFFF
##21370D1.0012.991.6212.99
#FFFFFF12.991.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.991.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3208
Deuteranopia (green-blind)
#373110
Tritanopia (blue-blind)
#21342E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #21370d;
/* rgb */ color: rgb(33, 55, 13);
/* oklch */ color: oklch(30.8% 0.071 132.8);
Tailwind
colors: {
  custom: {
    50: '#5e6e4e',
    500: '#21370d',
    950: '#000000',
  },
}
SCSS
$custom: #21370d;
$custom-light: #5e6e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#21370d",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 13
  },
  "hsl": {
    "h": 91.429,
    "s": 61.765,
    "l": 13.333
  },
  "oklch": {
    "l": 0.30778,
    "c": 0.0712,
    "h": 132.8
  },
  "luminance": 0.03085
}

Semantic roles & 50–950 ramp

primary
#21370D
secondary
#522D72
accent
#43E598
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #21370D

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

Preview Lab → · Contrast checker → · Palette generator →

#21370D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva