#21901D#21901D

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

Color values

HEX#21901D
RGBrgb(33, 144, 29)
HSLhsl(118, 66%, 34%)
HSVhsv(118, 80%, 56%)
CMYKcmyk(77.1%, 0%, 79.9%, 43.5%)
CIE-LABlab(52.24, -51.80, 48.40)
CIE-LCHlch(52.24, 70.89, 136.94°)
OKLaboklab(57.13% -0.1408 0.1082)
OKLCHoklch(57.13% 0.178 142.5)
XYZxyz(10.8216, 20.3573, 4.5212)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21901D #8C1D90
analogous
#5B901D #21901D #1D9053
triadic
#21901D #1D2190 #901D21
tetradic
#21901D #1D5B90 #8C1D90 #90531D
square
#21901D #1D5B90 #8C1D90 #90531D
split-complementary
#21901D #531D90 #901D5B
monochromatic
#0A2A08 #155D13 #21901D #2DC327 #51DB4C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21901D#FFFFFF#000000##000000
##21901D1.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)
#87792B
Tritanopia (blue-blind)
#008C7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #21901d;
/* rgb */ color: rgb(33, 144, 29);
/* oklch */ color: oklch(57.1% 0.178 142.5);
Tailwind
colors: {
  custom: {
    50: '#71b263',
    500: '#21901d',
    950: '#000000',
  },
}
SCSS
$custom: #21901d;
$custom-light: #71b263;
$custom-dark: #000000;
JSON
{
  "hex": "#21901d",
  "rgb": {
    "r": 33,
    "g": 144,
    "b": 29
  },
  "hsl": {
    "h": 117.913,
    "s": 66.474,
    "l": 33.922
  },
  "oklch": {
    "l": 0.57133,
    "c": 0.17754,
    "h": 142.5
  },
  "luminance": 0.20359
}

Semantic roles & 50–950 ramp

primary
#21901D
secondary
#B94BBD
accent
#3EE9E3
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #21901D

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

Preview Lab → · Contrast checker → · Palette generator →

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