#21370F#21370F

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

Color values

HEX#21370F
RGBrgb(33, 55, 15)
HSLhsl(93, 57%, 14%)
HSVhsv(93, 73%, 22%)
CMYKcmyk(40%, 0%, 72.7%, 78.4%)
CIE-LABlab(20.40, -17.06, 21.75)
CIE-LCHlch(20.40, 27.64, 128.10°)
OKLaboklab(30.8% -0.0476 0.0504)
OKLCHoklch(30.8% 0.069 133.4)
XYZxyz(2.0796, 3.0901, 0.9387)
Luminance0.0309 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21370F #250F37
analogous
#35370F #21370F #0F3711
triadic
#21370F #0F2137 #370F21
tetradic
#21370F #0F3537 #250F37 #37110F
square
#21370F #0F3537 #250F37 #37110F
split-complementary
#21370F #110F37 #370F35
monochromatic
#0E1807 #0E1807 #21370F #3E671C #5B9729

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21370F#FFFFFF#000000##FFFFFF
##21370F1.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)
#39320A
Deuteranopia (green-blind)
#363112
Tritanopia (blue-blind)
#21352F
Achromatopsia (no color)
#313131

Design tokens & code

CSS
--color: #21370f;
/* rgb */ color: rgb(33, 55, 15);
/* oklch */ color: oklch(30.8% 0.069 133.4);
Tailwind
colors: {
  custom: {
    50: '#5e6e4f',
    500: '#21370f',
    950: '#000000',
  },
}
SCSS
$custom: #21370f;
$custom-light: #5e6e4f;
$custom-dark: #000000;
JSON
{
  "hex": "#21370f",
  "rgb": {
    "r": 33,
    "g": 55,
    "b": 15
  },
  "hsl": {
    "h": 93,
    "s": 57.143,
    "l": 13.725
  },
  "oklch": {
    "l": 0.30802,
    "c": 0.06929,
    "h": 133.4
  },
  "luminance": 0.0309
}

Semantic roles & 50–950 ramp

primary
#21370F
secondary
#543171
accent
#47E09C
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040702
muted
#797A78

Preview Lab

Preview with #21370F

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

Preview Lab → · Contrast checker → · Palette generator →

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