#21320D#21320D

#21320D is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.3% C 0.063 H 130.4°. Best body text is #FFFFFF at 13.75:1 contrast (WCAG AA passes).

Color values

HEX#21320D
RGBrgb(33, 50, 13)
HSLhsl(88, 59%, 12%)
HSVhsv(88, 74%, 20%)
CMYKcmyk(34%, 0%, 74%, 80.4%)
CIE-LABlab(18.51, -14.49, 20.59)
CIE-LCHlch(18.51, 25.18, 125.14°)
OKLaboklab(29.26% -0.0408 0.0479)
OKLCHoklch(29.26% 0.063 130.4)
XYZxyz(1.8404, 2.6335, 0.7920)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21320D #1E0D32
analogous
#32310D #21320D #0E320D
triadic
#21320D #0D2132 #320D21
tetradic
#21320D #0D3231 #1E0D32 #320D0E
square
#21320D #0D3231 #1E0D32 #320D0E
split-complementary
#21320D #0D0E32 #310D32
monochromatic
#101806 #101806 #21320D #41631A #619326

Accessibility & contrast

On white

13.75
#21320D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

1.53
#21320D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21320D
13.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21320D#FFFFFF#000000##FFFFFF
##21320D1.0013.751.5313.75
#FFFFFF13.751.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.751.0021.001.00

Color blindness preview

Protanopia (red-blind)
#352E09
Deuteranopia (green-blind)
#322D10
Tritanopia (blue-blind)
#22302A
Achromatopsia (no color)
#2D2D2D

Design tokens & code

CSS
--color: #21320d;
/* rgb */ color: rgb(33, 50, 13);
/* oklch */ color: oklch(29.3% 0.063 130.4);
Tailwind
colors: {
  custom: {
    50: '#5e6a4d',
    500: '#21320d',
    950: '#000000',
  },
}
SCSS
$custom: #21320d;
$custom-light: #5e6a4d;
$custom-dark: #000000;
JSON
{
  "hex": "#21320d",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 13
  },
  "hsl": {
    "h": 87.568,
    "s": 58.73,
    "l": 12.353
  },
  "oklch": {
    "l": 0.29258,
    "c": 0.06293,
    "h": 130.4
  },
  "luminance": 0.02634
}

Semantic roles & 50–950 ramp

primary
#21320D
secondary
#4B2E6D
accent
#46E28E
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #21320D

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

Preview Lab → · Contrast checker → · Palette generator →

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