#21510E#21510E

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

Color values

HEX#21510E
RGBrgb(33, 81, 14)
HSLhsl(103, 71%, 19%)
HSVhsv(103, 83%, 32%)
CMYKcmyk(59.3%, 0%, 82.7%, 68.2%)
CIE-LABlab(30.01, -29.64, 32.17)
CIE-LCHlch(30.01, 43.74, 132.66°)
OKLaboklab(38.68% -0.0818 0.0721)
OKLCHoklch(38.68% 0.109 138.6)
XYZxyz(3.6488, 6.2396, 1.4275)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21510E #3E0E51
analogous
#42510E #21510E #0E511C
triadic
#21510E #0E2151 #510E21
tetradic
#21510E #0E4251 #3E0E51 #511C0E
square
#21510E #0E4251 #3E0E51 #511C0E
split-complementary
#21510E #1C0E51 #510E42
monochromatic
#0B1A05 #0C1D05 #21510E #368517 #4CB920

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21510E#FFFFFF#000000##FFFFFF
##21510E1.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)
#544902
Deuteranopia (green-blind)
#4E4515
Tritanopia (blue-blind)
#1D4E44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #21510e;
/* rgb */ color: rgb(33, 81, 14);
/* oklch */ color: oklch(38.7% 0.109 138.6);
Tailwind
colors: {
  custom: {
    50: '#638252',
    500: '#21510e',
    950: '#000000',
  },
}
SCSS
$custom: #21510e;
$custom-light: #638252;
$custom-dark: #000000;
JSON
{
  "hex": "#21510e",
  "rgb": {
    "r": 33,
    "g": 81,
    "b": 14
  },
  "hsl": {
    "h": 102.985,
    "s": 70.526,
    "l": 18.627
  },
  "oklch": {
    "l": 0.38681,
    "c": 0.10901,
    "h": 138.6
  },
  "luminance": 0.0624
}

Semantic roles & 50–950 ramp

primary
#21510E
secondary
#712F8C
accent
#3AEDBB
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #21510E

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

Preview Lab → · Contrast checker → · Palette generator →

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