#21891A#21891A

#21891A is a mid, vivid green. Relative luminance 0.183; OKLCH L 55.1% C 0.171 H 142.2°. Best body text is #000000 at 4.66:1 contrast (WCAG AA passes).

Color values

HEX#21891A
RGBrgb(33, 137, 26)
HSLhsl(116, 68%, 32%)
HSVhsv(116, 81%, 54%)
CMYKcmyk(75.9%, 0%, 81%, 46.3%)
CIE-LABlab(49.84, -49.68, 47.08)
CIE-LCHlch(49.84, 68.44, 136.54°)
OKLaboklab(55.14% -0.1352 0.105)
OKLCHoklch(55.14% 0.171 142.2)
XYZxyz(9.7587, 18.2881, 3.9927)
Luminance0.1829 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21891A #821A89
analogous
#59891A #21891A #1A894B
triadic
#21891A #1A2189 #891A21
tetradic
#21891A #1A5989 #821A89 #894B1A
square
#21891A #1A5989 #821A89 #894B1A
split-complementary
#21891A #4B1A89 #891A59
monochromatic
#082206 #155610 #21891A #2DBC24 #4CDB42

Accessibility & contrast

On white

4.51
#21891A on #FFFFFF
AA ✓AA large ✓AAA ✗

On black

4.66
#21891A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21891A
4.66:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21891A#FFFFFF#000000##000000
##21891A1.004.514.664.66
#FFFFFF4.511.0021.0021.00
#0000004.6621.001.001.00
##0000004.6621.001.001.00

Color blindness preview

Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#817327
Tritanopia (blue-blind)
#008574
Achromatopsia (no color)
#777777

Design tokens & code

CSS
--color: #21891a;
/* rgb */ color: rgb(33, 137, 26);
/* oklch */ color: oklch(55.1% 0.171 142.2);
Tailwind
colors: {
  custom: {
    50: '#6fac60',
    500: '#21891a',
    950: '#000000',
  },
}
SCSS
$custom: #21891a;
$custom-light: #6fac60;
$custom-dark: #000000;
JSON
{
  "hex": "#21891a",
  "rgb": {
    "r": 33,
    "g": 137,
    "b": 26
  },
  "hsl": {
    "h": 116.216,
    "s": 68.098,
    "l": 31.961
  },
  "oklch": {
    "l": 0.55137,
    "c": 0.17118,
    "h": 142.2
  },
  "luminance": 0.18289
}

Semantic roles & 50–950 ramp

primary
#21891A
secondary
#B443BC
accent
#3DEBE0
background
#F7FAF5
surface
#EDF4EA
border
#C8CEC6
text
#091005
muted
#7B7F79

Preview Lab

Preview with #21891A

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

Preview Lab → · Contrast checker → · Palette generator →

#21891A Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva