#21510F#21510F

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

Color values

HEX#21510F
RGBrgb(33, 81, 15)
HSLhsl(104, 69%, 19%)
HSVhsv(104, 81%, 32%)
CMYKcmyk(59.3%, 0%, 81.5%, 68.2%)
CIE-LABlab(30.02, -29.57, 31.78)
CIE-LCHlch(30.02, 43.41, 132.94°)
OKLaboklab(38.69% -0.0815 0.0714)
OKLCHoklch(38.69% 0.108 138.8)
XYZxyz(3.6557, 6.2424, 1.4641)
Luminance0.0624 (WCAG relative)
Temperaturewarm
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21510F #3F0F51
analogous
#42510F #21510F #0F511E
triadic
#21510F #0F2151 #510F21
tetradic
#21510F #0F4251 #3F0F51 #511E0F
square
#21510F #0F4251 #3F0F51 #511E0F
split-complementary
#21510F #1E0F51 #510F42
monochromatic
#0B1A05 #0C1D05 #21510F #368519 #4BB822

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21510F#FFFFFF#000000##FFFFFF
##21510F1.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)
#544903
Deuteranopia (green-blind)
#4E4516
Tritanopia (blue-blind)
#1C4E44
Achromatopsia (no color)
#474747

Design tokens & code

CSS
--color: #21510f;
/* rgb */ color: rgb(33, 81, 15);
/* oklch */ color: oklch(38.7% 0.108 138.8);
Tailwind
colors: {
  custom: {
    50: '#638253',
    500: '#21510f',
    950: '#000000',
  },
}
SCSS
$custom: #21510f;
$custom-light: #638253;
$custom-dark: #000000;
JSON
{
  "hex": "#21510f",
  "rgb": {
    "r": 33,
    "g": 81,
    "b": 15
  },
  "hsl": {
    "h": 103.636,
    "s": 68.75,
    "l": 18.824
  },
  "oklch": {
    "l": 0.38689,
    "c": 0.10838,
    "h": 138.8
  },
  "luminance": 0.06243
}

Semantic roles & 50–950 ramp

primary
#21510F
secondary
#72318B
accent
#3CECBC
background
#F6F8F4
surface
#EBEFE7
border
#C6CAC3
text
#060A02
muted
#7A7C78

Preview Lab

Preview with #21510F

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

Preview Lab → · Contrast checker → · Palette generator →

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