#21370E#21370E

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

Color values

HEX#21370E
RGBrgb(33, 55, 14)
HSLhsl(92, 59%, 14%)
HSVhsv(92, 75%, 22%)
CMYKcmyk(40%, 0%, 74.5%, 78.4%)
CIE-LABlab(20.39, -17.17, 22.25)
CIE-LCHlch(20.39, 28.10, 127.65°)
OKLaboklab(30.79% -0.048 0.0513)
OKLCHoklch(30.79% 0.07 133.1)
XYZxyz(2.0726, 3.0873, 0.9021)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21370E #240E37
analogous
#35370E #21370E #0E370F
triadic
#21370E #0E2137 #370E21
tetradic
#21370E #0E3537 #240E37 #370F0E
square
#21370E #0E3537 #240E37 #370F0E
split-complementary
#21370E #0F0E37 #370E35
monochromatic
#0F1806 #0F1806 #21370E #3E681A #5C9927

Accessibility & contrast

On white

12.98
#21370E on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21370E
12.98:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21370E#FFFFFF#000000##FFFFFF
##21370E1.0012.981.6212.98
#FFFFFF12.981.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF12.981.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3209
Deuteranopia (green-blind)
#363111
Tritanopia (blue-blind)
#21352E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #21370e;
/* rgb */ color: rgb(33, 55, 14);
/* oklch */ color: oklch(30.8% 0.070 133.1);
Tailwind
colors: {
  custom: {
    50: '#5e6e4e',
    500: '#21370e',
    950: '#000000',
  },
}
SCSS
$custom: #21370e;
$custom-light: #5e6e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#21370e",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 14
  },
  "hsl": {
    "h": 92.195,
    "s": 59.42,
    "l": 13.529
  },
  "oklch": {
    "l": 0.30789,
    "c": 0.07025,
    "h": 133.1
  },
  "luminance": 0.03087
}

Semantic roles & 50–950 ramp

primary
#21370E
secondary
#532F72
accent
#45E39A
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040702
muted
#797A78

Preview Lab

Preview with #21370E

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

Preview Lab → · Contrast checker → · Palette generator →

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