#21500E#21500E

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

Color values

HEX#21500E
RGBrgb(33, 80, 14)
HSLhsl(103, 70%, 18%)
HSVhsv(103, 83%, 31%)
CMYKcmyk(58.8%, 0%, 82.5%, 68.6%)
CIE-LABlab(29.64, -29.21, 31.81)
CIE-LCHlch(29.64, 43.19, 132.56°)
OKLaboklab(38.38% -0.0806 0.0713)
OKLCHoklch(38.38% 0.108 138.5)
XYZxyz(3.5750, 6.0921, 1.4029)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21500E #3D0E50
analogous
#42500E #21500E #0E501C
triadic
#21500E #0E2150 #500E21
tetradic
#21500E #0E4250 #3D0E50 #501C0E
square
#21500E #0E4250 #3D0E50 #501C0E
split-complementary
#21500E #1C0E50 #500E42
monochromatic
#0B1A05 #0C1C05 #21500E #368417 #4CB820

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21500E#FFFFFF#000000##FFFFFF
##21500E1.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)
#534802
Deuteranopia (green-blind)
#4D4415
Tritanopia (blue-blind)
#1D4D43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #21500e;
/* rgb */ color: rgb(33, 80, 14);
/* oklch */ color: oklch(38.4% 0.108 138.5);
Tailwind
colors: {
  custom: {
    50: '#628152',
    500: '#21500e',
    950: '#000000',
  },
}
SCSS
$custom: #21500e;
$custom-light: #628152;
$custom-dark: #000000;
JSON
{
  "hex": "#21500e",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 14
  },
  "hsl": {
    "h": 102.727,
    "s": 70.213,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38379,
    "c": 0.10765,
    "h": 138.5
  },
  "luminance": 0.06092
}

Semantic roles & 50–950 ramp

primary
#21500E
secondary
#702F8B
accent
#3BEDBA
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#050A02
muted
#7A7C78

Preview Lab

Preview with #21500E

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

Preview Lab → · Contrast checker → · Palette generator →

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