#20901B#20901B

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

Color values

HEX#20901B
RGBrgb(32, 144, 27)
HSLhsl(117, 68%, 34%)
HSVhsv(117, 81%, 56%)
CMYKcmyk(77.8%, 0%, 81.3%, 43.5%)
CIE-LABlab(52.21, -52.09, 49.00)
CIE-LCHlch(52.21, 71.51, 136.75°)
OKLaboklab(57.1% -0.1416 0.1092)
OKLCHoklch(57.1% 0.179 142.4)
XYZxyz(10.7661, 20.3315, 4.3937)
Luminance0.2033 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20901B #8B1B90
analogous
#5A901B #20901B #1B9050
triadic
#20901B #1B2090 #901B20
tetradic
#20901B #1B5A90 #8B1B90 #90501B
square
#20901B #1B5A90 #8B1B90 #90501B
split-complementary
#20901B #501B90 #901B5A
monochromatic
#092908 #155C11 #20901B #2BC425 #4FDD49

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20901B#FFFFFF#000000##000000
##20901B1.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: #20901b;
/* rgb */ color: rgb(32, 144, 27);
/* oklch */ color: oklch(57.1% 0.179 142.4);
Tailwind
colors: {
  custom: {
    50: '#70b262',
    500: '#20901b',
    950: '#000000',
  },
}
SCSS
$custom: #20901b;
$custom-light: #70b262;
$custom-dark: #000000;
JSON
{
  "hex": "#20901b",
  "rgb": {
    "r": 32,
    "g": 144,
    "b": 27
  },
  "hsl": {
    "h": 117.436,
    "s": 68.421,
    "l": 33.529
  },
  "oklch": {
    "l": 0.571,
    "c": 0.17881,
    "h": 142.4
  },
  "luminance": 0.20333
}

Semantic roles & 50–950 ramp

primary
#20901B
secondary
#BA48BF
accent
#3DEBE4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #20901B

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

Preview Lab → · Contrast checker → · Palette generator →

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