#21510D#21510D

#21510D is a dark, moderate green. Relative luminance 0.062; OKLCH L 38.7% C 0.110 H 138.5°. Best body text is #FFFFFF at 9.34:1 contrast (WCAG AA passes).

Color values

HEX#21510D
RGBrgb(33, 81, 13)
HSLhsl(102, 72%, 18%)
HSVhsv(102, 84%, 32%)
CMYKcmyk(59.3%, 0%, 84%, 68.2%)
CIE-LABlab(30.00, -29.72, 32.54)
CIE-LCHlch(30.00, 44.07, 132.40°)
OKLaboklab(38.67% -0.0821 0.0727)
OKLCHoklch(38.67% 0.11 138.5)
XYZxyz(3.6421, 6.2370, 1.3926)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21510D #3D0D51
analogous
#43510D #21510D #0D511B
triadic
#21510D #0D2151 #510D21
tetradic
#21510D #0D4351 #3D0D51 #511B0D
square
#21510D #0D4351 #3D0D51 #511B0D
split-complementary
#21510D #1B0D51 #510D43
monochromatic
#0B1A04 #0C1C05 #21510D #368615 #4CBA1E

Accessibility & contrast

On white

9.34
#21510D on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.25
#21510D on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21510D
9.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21510D#FFFFFF#000000##FFFFFF
##21510D1.009.342.259.34
#FFFFFF9.341.0021.001.00
#0000002.2521.001.0021.00
##FFFFFF9.341.0021.001.00

Color blindness preview

Protanopia (red-blind)
#544901
Deuteranopia (green-blind)
#4E4515
Tritanopia (blue-blind)
#1D4E44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #21510d;
/* rgb */ color: rgb(33, 81, 13);
/* oklch */ color: oklch(38.7% 0.110 138.5);
Tailwind
colors: {
  custom: {
    50: '#638252',
    500: '#21510d',
    950: '#000000',
  },
}
SCSS
$custom: #21510d;
$custom-light: #638252;
$custom-dark: #000000;
JSON
{
  "hex": "#21510d",
  "rgb": {
    "r": 33,
    "g": 81,
    "b": 13
  },
  "hsl": {
    "h": 102.353,
    "s": 72.34,
    "l": 18.431
  },
  "oklch": {
    "l": 0.38673,
    "c": 0.10963,
    "h": 138.5
  },
  "luminance": 0.06237
}

Semantic roles & 50–950 ramp

primary
#21510D
secondary
#702E8C
accent
#39EFB9
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #21510D

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

Preview Lab → · Contrast checker → · Palette generator →

#21510D Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva