#21881E#21881E

#21881E is a mid, vivid green. Relative luminance 0.180; OKLCH L 54.9% C 0.168 H 142.6°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).

Color values

HEX#21881E
RGBrgb(33, 136, 30)
HSLhsl(118, 64%, 33%)
HSVhsv(118, 78%, 53%)
CMYKcmyk(75.7%, 0%, 77.9%, 46.7%)
CIE-LABlab(49.53, -49.06, 45.41)
CIE-LCHlch(49.53, 66.85, 137.21°)
OKLaboklab(54.88% -0.1333 0.1021)
OKLCHoklch(54.88% 0.168 142.6)
XYZxyz(9.6651, 18.0243, 4.1977)
Luminance0.1802 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21881E #851E88
analogous
#56881E #21881E #1E8850
triadic
#21881E #1E2188 #881E21
tetradic
#21881E #1E5688 #851E88 #88501E
square
#21881E #1E5688 #851E88 #88501E
split-complementary
#21881E #501E88 #881E56
monochromatic
#092408 #155613 #21881E #2DBA29 #4DD749

Accessibility & contrast

On white

4.56
#21881E on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.60
#21881E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21881E
4.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21881E#FFFFFF#000000##000000
##21881E1.004.564.604.60
#FFFFFF4.561.0021.0021.00
#0000004.6021.001.001.00
##0000004.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#8B7B06
Deuteranopia (green-blind)
#80732A
Tritanopia (blue-blind)
#008474
Achromatopsia (no color)
#767676

Design tokens & code

CSS
--color: #21881e;
/* rgb */ color: rgb(33, 136, 30);
/* oklch */ color: oklch(54.9% 0.168 142.6);
Tailwind
colors: {
  custom: {
    50: '#6fac62',
    500: '#21881e',
    950: '#000000',
  },
}
SCSS
$custom: #21881e;
$custom-light: #6fac62;
$custom-dark: #000000;
JSON
{
  "hex": "#21881e",
  "rgb": {
    "r": 33,
    "g": 136,
    "b": 30
  },
  "hsl": {
    "h": 118.302,
    "s": 63.855,
    "l": 32.549
  },
  "oklch": {
    "l": 0.5488,
    "c": 0.16792,
    "h": 142.6
  },
  "luminance": 0.18025
}

Semantic roles & 50–950 ramp

primary
#21881E
secondary
#B649B9
accent
#41E7E2
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#081005
muted
#7B7F7A

Preview Lab

Preview with #21881E

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

Preview Lab → · Contrast checker → · Palette generator →

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