#21500F#21500F

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

Color values

HEX#21500F
RGBrgb(33, 80, 15)
HSLhsl(103, 68%, 19%)
HSVhsv(103, 81%, 31%)
CMYKcmyk(58.8%, 0%, 81.3%, 68.6%)
CIE-LABlab(29.65, -29.14, 31.42)
CIE-LCHlch(29.65, 42.85, 132.84°)
OKLaboklab(38.39% -0.0804 0.0707)
OKLCHoklch(38.39% 0.107 138.7)
XYZxyz(3.5819, 6.0949, 1.4395)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21500F #3E0F50
analogous
#41500F #21500F #0F501D
triadic
#21500F #0F2150 #500F21
tetradic
#21500F #0F4150 #3E0F50 #501D0F
square
#21500F #0F4150 #3E0F50 #501D0F
split-complementary
#21500F #1D0F50 #500F41
monochromatic
#0B1A05 #0C1C05 #21500F #368419 #4CB722

Accessibility & contrast

On white

9.46
#21500F on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

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

Best text color

#FFFFFF on #21500F
9.46:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21500F#FFFFFF#000000##FFFFFF
##21500F1.009.462.229.46
#FFFFFF9.461.0021.001.00
#0000002.2221.001.0021.00
##FFFFFF9.461.0021.001.00

Color blindness preview

Protanopia (red-blind)
#534804
Deuteranopia (green-blind)
#4D4416
Tritanopia (blue-blind)
#1D4D44
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #21500f;
/* rgb */ color: rgb(33, 80, 15);
/* oklch */ color: oklch(38.4% 0.107 138.7);
Tailwind
colors: {
  custom: {
    50: '#628152',
    500: '#21500f',
    950: '#000000',
  },
}
SCSS
$custom: #21500f;
$custom-light: #628152;
$custom-dark: #000000;
JSON
{
  "hex": "#21500f",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 15
  },
  "hsl": {
    "h": 103.385,
    "s": 68.421,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38387,
    "c": 0.107,
    "h": 138.7
  },
  "luminance": 0.06095
}

Semantic roles & 50–950 ramp

primary
#21500F
secondary
#71318A
accent
#3DEBBB
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #21500F

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

Preview Lab → · Contrast checker → · Palette generator →

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