#21901F#21901F

#21901F 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#21901F
RGBrgb(33, 144, 31)
HSLhsl(119, 65%, 34%)
HSVhsv(119, 78%, 56%)
CMYKcmyk(77.1%, 0%, 78.5%, 43.5%)
CIE-LABlab(52.25, -51.65, 47.74)
CIE-LCHlch(52.25, 70.33, 137.26°)
OKLaboklab(57.15% -0.1403 0.1071)
OKLCHoklch(57.15% 0.177 142.6)
XYZxyz(10.8471, 20.3675, 4.6557)
Luminance0.2037 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#21901F #8E1F90
analogous
#5A901F #21901F #1F9056
triadic
#21901F #1F2190 #901F21
tetradic
#21901F #1F5A90 #8E1F90 #90561F
square
#21901F #1F5A90 #8E1F90 #90561F
split-complementary
#21901F #561F90 #901F5A
monochromatic
#0A2B09 #155E14 #21901F #2DC22A #52D950

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##21901F#FFFFFF#000000##000000
##21901F1.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)
#938203
Deuteranopia (green-blind)
#87792C
Tritanopia (blue-blind)
#008C7B
Achromatopsia (no color)
#7D7D7D

Design tokens & code

CSS
--color: #21901f;
/* rgb */ color: rgb(33, 144, 31);
/* oklch */ color: oklch(57.1% 0.177 142.6);
Tailwind
colors: {
  custom: {
    50: '#70b264',
    500: '#21901f',
    950: '#000000',
  },
}
SCSS
$custom: #21901f;
$custom-light: #70b264;
$custom-dark: #000000;
JSON
{
  "hex": "#21901f",
  "rgb": {
    "r": 33,
    "g": 144,
    "b": 31
  },
  "hsl": {
    "h": 118.938,
    "s": 64.571,
    "l": 34.314
  },
  "oklch": {
    "l": 0.57146,
    "c": 0.17651,
    "h": 142.6
  },
  "luminance": 0.20369
}

Semantic roles & 50–950 ramp

primary
#21901F
secondary
#BA4EBC
accent
#40E8E5
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #21901F

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

Preview Lab → · Contrast checker → · Palette generator →

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