#21500B#21500B

#21500B is a dark, moderate green. Relative luminance 0.061; OKLCH L 38.4% C 0.109 H 138.1°. Best body text is #FFFFFF at 9.47:1 contrast (WCAG AA passes).

Color values

HEX#21500B
RGBrgb(33, 80, 11)
HSLhsl(101, 76%, 18%)
HSVhsv(101, 86%, 31%)
CMYKcmyk(58.8%, 0%, 86.3%, 68.6%)
CIE-LABlab(29.62, -29.43, 32.91)
CIE-LCHlch(29.62, 44.15, 131.80°)
OKLaboklab(38.36% -0.0814 0.0731)
OKLCHoklch(38.36% 0.109 138.1)
XYZxyz(3.5561, 6.0845, 1.3036)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21500B #3A0B50
analogous
#43500B #21500B #0B5018
triadic
#21500B #0B2150 #500B21
tetradic
#21500B #0B4350 #3A0B50 #50180B
square
#21500B #0B4350 #3A0B50 #50180B
split-complementary
#21500B #180B50 #500B43
monochromatic
#0B1B04 #0B1B04 #21500B #378612 #4DBC1A

Accessibility & contrast

On white

9.47
#21500B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.22
#21500B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21500B
9.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21500B#FFFFFF#000000##FFFFFF
##21500B1.009.472.229.47
#FFFFFF9.471.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.471.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534800
Deuteranopia (green-blind)
#4D4413
Tritanopia (blue-blind)
#1D4D43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #21500b;
/* rgb */ color: rgb(33, 80, 11);
/* oklch */ color: oklch(38.4% 0.109 138.1);
Tailwind
colors: {
  custom: {
    50: '#638151',
    500: '#21500b',
    950: '#000000',
  },
}
SCSS
$custom: #21500b;
$custom-light: #638151;
$custom-dark: #000000;
JSON
{
  "hex": "#21500b",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 11
  },
  "hsl": {
    "h": 100.87,
    "s": 75.824,
    "l": 17.843
  },
  "oklch": {
    "l": 0.38358,
    "c": 0.10943,
    "h": 138.1
  },
  "luminance": 0.06085
}

Semantic roles & 50–950 ramp

primary
#21500B
secondary
#6D2B8C
accent
#35F2B6
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #21500B

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

Preview Lab → · Contrast checker → · Palette generator →

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