#21320B#21320B

#21320B is a dark, moderate yellow-green. Relative luminance 0.026; OKLCH L 29.2% C 0.065 H 129.8°. Best body text is #FFFFFF at 13.76:1 contrast (WCAG AA passes).

Color values

HEX#21320B
RGBrgb(33, 50, 11)
HSLhsl(86, 64%, 12%)
HSVhsv(86, 78%, 20%)
CMYKcmyk(34%, 0%, 78%, 80.4%)
CIE-LABlab(18.49, -14.70, 21.47)
CIE-LCHlch(18.49, 26.02, 124.39°)
OKLaboklab(29.23% -0.0415 0.0498)
OKLCHoklch(29.23% 0.065 129.8)
XYZxyz(1.8282, 2.6286, 0.7276)
Luminance0.0263 (WCAG relative)
Temperaturewarm
Familyyellow-green

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21320B #1C0B32
analogous
#32300B #21320B #0E320B
triadic
#21320B #0B2132 #320B21
tetradic
#21320B #0B3230 #1C0B32 #320B0E
square
#21320B #0B3230 #1C0B32 #320B0E
split-complementary
#21320B #0B0E32 #300B32
monochromatic
#111906 #111906 #21320B #426416 #639621

Accessibility & contrast

On white

13.76
#21320B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21320B
13.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21320B#FFFFFF#000000##FFFFFF
##21320B1.0013.761.5313.76
#FFFFFF13.761.0021.001.00
#0000001.5321.001.0021.00
##FFFFFF13.761.0021.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #21320b;
/* rgb */ color: rgb(33, 50, 11);
/* oklch */ color: oklch(29.2% 0.065 129.8);
Tailwind
colors: {
  custom: {
    50: '#5e6a4c',
    500: '#21320b',
    950: '#000000',
  },
}
SCSS
$custom: #21320b;
$custom-light: #5e6a4c;
$custom-dark: #000000;
JSON
{
  "hex": "#21320b",
  "rgb": {
    "r": 33,
    "g": 50,
    "b": 11
  },
  "hsl": {
    "h": 86.154,
    "s": 63.934,
    "l": 11.961
  },
  "oklch": {
    "l": 0.29234,
    "c": 0.06489,
    "h": 129.8
  },
  "luminance": 0.02629
}

Semantic roles & 50–950 ramp

primary
#21320B
secondary
#482A6F
accent
#41E789
background
#F5F6F4
surface
#E9EBE7
border
#C5C6C3
text
#040601
muted
#797A77

Preview Lab

Preview with #21320B

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

Preview Lab → · Contrast checker → · Palette generator →

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