#21370A#21370A

#21370A is a dark, moderate yellow-green. Relative luminance 0.031; OKLCH L 30.7% C 0.074 H 132.1°. Best body text is #FFFFFF at 13.00:1 contrast (WCAG AA passes).

Color values

HEX#21370A
RGBrgb(33, 55, 10)
HSLhsl(89, 69%, 13%)
HSVhsv(89, 82%, 22%)
CMYKcmyk(40%, 0%, 81.8%, 78.4%)
CIE-LABlab(20.35, -17.55, 24.03)
CIE-LCHlch(20.35, 29.76, 126.15°)
OKLaboklab(30.75% -0.0494 0.0548)
OKLCHoklch(30.75% 0.074 132.1)
XYZxyz(2.0481, 3.0775, 0.7732)
Luminance0.0308 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21370A #200A37
analogous
#37360A #21370A #0B370A
triadic
#21370A #0A2137 #370A21
tetradic
#21370A #0A3736 #200A37 #370A0B
square
#21370A #0A3736 #200A37 #370A0B
split-complementary
#21370A #0A0B37 #360A37
monochromatic
#101A05 #101A05 #21370A #406B13 #5F9F1D

Accessibility & contrast

On white

13.00
#21370A on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21370A
13.00:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21370A#FFFFFF#000000##FFFFFF
##21370A1.0013.001.6213.00
#FFFFFF13.001.0021.001.00
#0000001.6221.001.0021.00
##FFFFFF13.001.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3A3204
Deuteranopia (green-blind)
#37300E
Tritanopia (blue-blind)
#22342E
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #21370a;
/* rgb */ color: rgb(33, 55, 10);
/* oklch */ color: oklch(30.7% 0.074 132.1);
Tailwind
colors: {
  custom: {
    50: '#5e6e4c',
    500: '#21370a',
    950: '#000000',
  },
}
SCSS
$custom: #21370a;
$custom-light: #5e6e4c;
$custom-dark: #000000;
JSON
{
  "hex": "#21370a",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 10
  },
  "hsl": {
    "h": 89.333,
    "s": 69.231,
    "l": 12.745
  },
  "oklch": {
    "l": 0.30746,
    "c": 0.0738,
    "h": 132.1
  },
  "luminance": 0.03078
}

Semantic roles & 50–950 ramp

primary
#21370A
secondary
#4E2874
accent
#3CEC92
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040701
muted
#797A77

Preview Lab

Preview with #21370A

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

Preview Lab → · Contrast checker → · Palette generator →

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