#21901B#21901B

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

Color values

HEX#21901B
RGBrgb(33, 144, 27)
HSLhsl(117, 68%, 34%)
HSVhsv(117, 81%, 56%)
CMYKcmyk(77.1%, 0%, 81.3%, 43.5%)
CIE-LABlab(52.23, -51.93, 49.03)
CIE-LCHlch(52.23, 71.42, 136.65°)
OKLaboklab(57.12% -0.1412 0.1092)
OKLCHoklch(57.12% 0.179 142.3)
XYZxyz(10.7976, 20.3477, 4.3951)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21901B #8A1B90
analogous
#5B901B #21901B #1B904F
triadic
#21901B #1B2190 #901B21
tetradic
#21901B #1B5B90 #8A1B90 #904F1B
square
#21901B #1B5B90 #8A1B90 #904F1B
split-complementary
#21901B #4F1B90 #901B5B
monochromatic
#092908 #155C11 #21901B #2DC425 #50DD49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21901B#FFFFFF#000000##000000
##21901B1.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: #21901b;
/* rgb */ color: rgb(33, 144, 27);
/* oklch */ color: oklch(57.1% 0.179 142.3);
Tailwind
colors: {
  custom: {
    50: '#71b262',
    500: '#21901b',
    950: '#000000',
  },
}
SCSS
$custom: #21901b;
$custom-light: #71b262;
$custom-dark: #000000;
JSON
{
  "hex": "#21901b",
  "rgb": {
    "r": 33,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 116.923,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.5712,
    "c": 0.17853,
    "h": 142.3
  },
  "luminance": 0.20349
}

Semantic roles & 50–950 ramp

primary
#21901B
secondary
#B948BF
accent
#3DEBE2
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #21901B

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

Preview Lab → · Contrast checker → · Palette generator →

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