#21380D#21380D

#21380D is a dark, moderate yellow-green. Relative luminance 0.032; OKLCH L 31.1% C 0.073 H 133.2°. Best body text is #FFFFFF at 12.83:1 contrast (WCAG AA passes).

Color values

HEX#21380D
RGBrgb(33, 56, 13)
HSLhsl(92, 62%, 14%)
HSVhsv(92, 77%, 22%)
CMYKcmyk(41.1%, 0%, 76.8%, 78%)
CIE-LABlab(20.75, -17.81, 23.15)
CIE-LCHlch(20.75, 29.20, 127.57°)
OKLaboklab(31.08% -0.0498 0.0531)
OKLCHoklch(31.08% 0.073 133.2)
XYZxyz(2.1140, 3.1806, 0.8832)
Luminance0.0318 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21380D #240D38
analogous
#36380D #21380D #0D380E
triadic
#21380D #0D2138 #380D21
tetradic
#21380D #0D3638 #240D38 #380E0D
square
#21380D #0D3638 #240D38 #380E0D
split-complementary
#21380D #0E0D38 #380D36
monochromatic
#0F1906 #0F1906 #21380D #3E6A19 #5C9B24

Accessibility & contrast

On white

12.83
#21380D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.64
#21380D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21380D
12.83:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21380D#FFFFFF#000000##FFFFFF
##21380D1.0012.831.6412.83
#FFFFFF12.831.0021.001.00
#0000001.6421.001.0021.00
##FFFFFF12.831.0021.001.00

Color blindness preview

Protanopia (red-blind)
#3B3307
Deuteranopia (green-blind)
#373111
Tritanopia (blue-blind)
#21352F
Achromatopsia (no color)
#323232

Design tokens & code

CSS
--color: #21380d;
/* rgb */ color: rgb(33, 56, 13);
/* oklch */ color: oklch(31.1% 0.073 133.2);
Tailwind
colors: {
  custom: {
    50: '#5e6e4e',
    500: '#21380d',
    950: '#000000',
  },
}
SCSS
$custom: #21380d;
$custom-light: #5e6e4e;
$custom-dark: #000000;
JSON
{
  "hex": "#21380d",
  "rgb": {
    "r": 33,
    "g": 56,
    "b": 13
  },
  "hsl": {
    "h": 92.093,
    "s": 62.319,
    "l": 13.529
  },
  "oklch": {
    "l": 0.31082,
    "c": 0.07281,
    "h": 133.2
  },
  "luminance": 0.03181
}

Semantic roles & 50–950 ramp

primary
#21380D
secondary
#532D73
accent
#42E59A
background
#F5F6F4
surface
#E9ECE7
border
#C5C7C3
text
#040701
muted
#797A77

Preview Lab

Preview with #21380D

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

Preview Lab → · Contrast checker → · Palette generator →

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