#21901A#21901A

#21901A is a mid, vivid green. Relative luminance 0.203; OKLCH L 57.1% C 0.179 H 142.2°. Best body text is #000000 at 5.07:1 contrast (WCAG AA passes).

Color values

HEX#21901A
RGBrgb(33, 144, 26)
HSLhsl(116, 69%, 33%)
HSVhsv(116, 82%, 56%)
CMYKcmyk(77.1%, 0%, 81.9%, 43.5%)
CIE-LABlab(52.22, -51.99, 49.33)
CIE-LCHlch(52.22, 71.67, 136.50°)
OKLaboklab(57.11% -0.1414 0.1097)
OKLCHoklch(57.11% 0.179 142.2)
XYZxyz(10.7863, 20.3432, 4.3352)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21901A #891A90
analogous
#5C901A #21901A #1A904E
triadic
#21901A #1A2190 #901A21
tetradic
#21901A #1A5C90 #891A90 #904E1A
square
#21901A #1A5C90 #891A90 #904E1A
split-complementary
#21901A #4E1A90 #901A5C
monochromatic
#092807 #155C11 #21901A #2DC423 #50DE47

Accessibility & contrast

On white

4.14
#21901A on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.07
#21901A on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #21901A
5.07:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##21901A#FFFFFF#000000##000000
##21901A1.004.145.075.07
#FFFFFF4.141.0021.0021.00
#0000005.0721.001.001.00
##0000005.0721.001.001.00

Color blindness preview

Protanopia (red-blind)
#938200
Deuteranopia (green-blind)
#877929
Tritanopia (blue-blind)
#008B7A
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #21901a;
/* rgb */ color: rgb(33, 144, 26);
/* oklch */ color: oklch(57.1% 0.179 142.2);
Tailwind
colors: {
  custom: {
    50: '#71b261',
    500: '#21901a',
    950: '#000000',
  },
}
SCSS
$custom: #21901a;
$custom-light: #71b261;
$custom-dark: #000000;
JSON
{
  "hex": "#21901a",
  "rgb": {
    "r": 33,
    "g": 144,
    "b": 26
  },
  "hsl": {
    "h": 116.441,
    "s": 69.412,
    "l": 33.333
  },
  "oklch": {
    "l": 0.57114,
    "c": 0.17901,
    "h": 142.2
  },
  "luminance": 0.20344
}

Semantic roles & 50–950 ramp

primary
#21901A
secondary
#B847BF
accent
#3CECE2
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091105
muted
#7B807A

Preview Lab

Preview with #21901A

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

Preview Lab → · Contrast checker → · Palette generator →

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