#21901E#21901E

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

Color values

HEX#21901E
RGBrgb(33, 144, 30)
HSLhsl(118, 66%, 34%)
HSVhsv(118, 79%, 56%)
CMYKcmyk(77.1%, 0%, 79.2%, 43.5%)
CIE-LABlab(52.24, -51.73, 48.07)
CIE-LCHlch(52.24, 70.61, 137.10°)
OKLaboklab(57.14% -0.1405 0.1076)
OKLCHoklch(57.14% 0.177 142.6)
XYZxyz(10.8341, 20.3623, 4.5874)
Luminance0.2036 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21901E #8D1E90
analogous
#5A901E #21901E #1E9054
triadic
#21901E #1E2190 #901E21
tetradic
#21901E #1E5A90 #8D1E90 #90541E
square
#21901E #1E5A90 #8D1E90 #90541E
split-complementary
#21901E #541E90 #901E5A
monochromatic
#0A2B09 #155D13 #21901E #2DC329 #52DA4E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

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

Design tokens & code

CSS
--color: #21901e;
/* rgb */ color: rgb(33, 144, 30);
/* oklch */ color: oklch(57.1% 0.177 142.6);
Tailwind
colors: {
  custom: {
    50: '#70b263',
    500: '#21901e',
    950: '#000000',
  },
}
SCSS
$custom: #21901e;
$custom-light: #70b263;
$custom-dark: #000000;
JSON
{
  "hex": "#21901e",
  "rgb": {
    "r": 33,
    "g": 144,
    "b": 30
  },
  "hsl": {
    "h": 118.421,
    "s": 65.517,
    "l": 34.118
  },
  "oklch": {
    "l": 0.57139,
    "c": 0.17703,
    "h": 142.6
  },
  "luminance": 0.20364
}

Semantic roles & 50–950 ramp

primary
#21901E
secondary
#BA4DBD
accent
#3FE8E4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #21901E

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

Preview Lab → · Contrast checker → · Palette generator →

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