#21531B#21531B

#21531B is a dark, moderate green. Relative luminance 0.066; OKLCH L 39.4% C 0.102 H 141.6°. Best body text is #FFFFFF at 9.06:1 contrast (WCAG AA passes).

Color values

HEX#21531B
RGBrgb(33, 83, 27)
HSLhsl(114, 51%, 22%)
HSVhsv(114, 67%, 33%)
CMYKcmyk(60.2%, 0%, 67.5%, 67.5%)
CIE-LABlab(30.85, -29.22, 27.13)
CIE-LCHlch(30.85, 39.87, 137.13°)
OKLaboklab(39.41% -0.0798 0.0633)
OKLCHoklch(39.41% 0.102 141.6)
XYZxyz(3.9181, 6.5886, 2.1020)
Luminance0.0659 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21531B #4D1B53
analogous
#3D531B #21531B #1B5331
triadic
#21531B #1B2153 #531B21
tetradic
#21531B #1B3D53 #4D1B53 #53311B
square
#21531B #1B3D53 #4D1B53 #53311B
split-complementary
#21531B #311B53 #531B3D
monochromatic
#091708 #0F250C #21531B #33812A #46AF39

Accessibility & contrast

On white

9.06
#21531B on #FFFFFF
AA ✓AA large ✓AAA ✓

On black

2.32
#21531B on #000000
AA ✗AA large ✗AAA ✗

Best text color

#FFFFFF on #21531B
9.06:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21531B#FFFFFF#000000##FFFFFF
##21531B1.009.062.329.06
#FFFFFF9.061.0021.001.00
#0000002.3221.001.0021.00
##FFFFFF9.061.0021.001.00

Color blindness preview

Protanopia (red-blind)
#554B15
Deuteranopia (green-blind)
#4F4720
Tritanopia (blue-blind)
#1A5047
Achromatopsia (no color)
#494949

Design tokens & code

CSS
--color: #21531b;
/* rgb */ color: rgb(33, 83, 27);
/* oklch */ color: oklch(39.4% 0.102 141.6);
Tailwind
colors: {
  custom: {
    50: '#62845a',
    500: '#21531b',
    950: '#000000',
  },
}
SCSS
$custom: #21531b;
$custom-light: #62845a;
$custom-dark: #000000;
JSON
{
  "hex": "#21531b",
  "rgb": {
    "r": 33,
    "g": 83,
    "b": 27
  },
  "hsl": {
    "h": 113.571,
    "s": 50.909,
    "l": 21.569
  },
  "oklch": {
    "l": 0.39412,
    "c": 0.10183,
    "h": 141.6
  },
  "luminance": 0.06589
}

Semantic roles & 50–950 ramp

primary
#21531B
secondary
#814189
accent
#4DDACB
background
#F6F8F5
surface
#EBEFE9
border
#C6CAC5
text
#050B04
muted
#7A7C79

Preview Lab

Preview with #21531B

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

Preview Lab → · Contrast checker → · Palette generator →

#21531B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva