#21500C#21500C

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

Color values

HEX#21500C
RGBrgb(33, 80, 12)
HSLhsl(101, 74%, 18%)
HSVhsv(101, 85%, 31%)
CMYKcmyk(58.8%, 0%, 85%, 68.6%)
CIE-LABlab(29.63, -29.36, 32.56)
CIE-LCHlch(29.63, 43.84, 132.04°)
OKLaboklab(38.37% -0.0812 0.0725)
OKLCHoklch(38.37% 0.109 138.2)
XYZxyz(3.5621, 6.0869, 1.3349)
Luminance0.0609 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21500C #3B0C50
analogous
#43500C #21500C #0C5019
triadic
#21500C #0C2150 #500C21
tetradic
#21500C #0C4350 #3B0C50 #50190C
square
#21500C #0C4350 #3B0C50 #50190C
split-complementary
#21500C #190C50 #500C43
monochromatic
#0B1B04 #0B1B04 #21500C #378514 #4DBA1C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21500C#FFFFFF#000000##FFFFFF
##21500C1.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)
#4D4414
Tritanopia (blue-blind)
#1D4D43
Achromatopsia (no color)
#464646

Design tokens & code

CSS
--color: #21500c;
/* rgb */ color: rgb(33, 80, 12);
/* oklch */ color: oklch(38.4% 0.109 138.2);
Tailwind
colors: {
  custom: {
    50: '#638151',
    500: '#21500c',
    950: '#000000',
  },
}
SCSS
$custom: #21500c;
$custom-light: #638151;
$custom-dark: #000000;
JSON
{
  "hex": "#21500c",
  "rgb": {
    "r": 33,
    "g": 80,
    "b": 12
  },
  "hsl": {
    "h": 101.471,
    "s": 73.913,
    "l": 18.039
  },
  "oklch": {
    "l": 0.38365,
    "c": 0.10886,
    "h": 138.2
  },
  "luminance": 0.06087
}

Semantic roles & 50–950 ramp

primary
#21500C
secondary
#6E2C8B
accent
#37F1B7
background
#F6F7F4
surface
#EBEEE7
border
#C6C9C3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #21500C

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

Preview Lab → · Contrast checker → · Palette generator →

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