#21901C#21901C

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

Color values

HEX#21901C
RGBrgb(33, 144, 28)
HSLhsl(117, 67%, 34%)
HSVhsv(117, 81%, 56%)
CMYKcmyk(77.1%, 0%, 80.6%, 43.5%)
CIE-LABlab(52.23, -51.86, 48.72)
CIE-LCHlch(52.23, 71.15, 136.79°)
OKLaboklab(57.13% -0.141 0.1087)
OKLCHoklch(57.13% 0.178 142.4)
XYZxyz(10.8094, 20.3524, 4.4571)
Luminance0.2035 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21901C #8B1C90
analogous
#5B901C #21901C #1C9051
triadic
#21901C #1C2190 #901C21
tetradic
#21901C #1C5B90 #8B1C90 #90511C
square
#21901C #1C5B90 #8B1C90 #90511C
split-complementary
#21901C #511C90 #901C5B
monochromatic
#0A2A08 #155D12 #21901C #2DC326 #51DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21901C#FFFFFF#000000##000000
##21901C1.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)
#87792A
Tritanopia (blue-blind)
#008B7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #21901c;
/* rgb */ color: rgb(33, 144, 28);
/* oklch */ color: oklch(57.1% 0.178 142.4);
Tailwind
colors: {
  custom: {
    50: '#71b262',
    500: '#21901c',
    950: '#000000',
  },
}
SCSS
$custom: #21901c;
$custom-light: #71b262;
$custom-dark: #000000;
JSON
{
  "hex": "#21901c",
  "rgb": {
    "r": 33,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 117.414,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57126,
    "c": 0.17804,
    "h": 142.4
  },
  "luminance": 0.20354
}

Semantic roles & 50–950 ramp

primary
#21901C
secondary
#B94ABE
accent
#3DEAE3
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #21901C

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

Preview Lab → · Contrast checker → · Palette generator →

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