#20901C#20901C

#20901C is a mid, vivid green. Relative luminance 0.203; 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#20901C
RGBrgb(32, 144, 28)
HSLhsl(118, 67%, 34%)
HSVhsv(118, 81%, 56%)
CMYKcmyk(77.8%, 0%, 80.6%, 43.5%)
CIE-LABlab(52.22, -52.02, 48.69)
CIE-LCHlch(52.22, 71.25, 136.89°)
OKLaboklab(57.11% -0.1414 0.1087)
OKLCHoklch(57.11% 0.178 142.5)
XYZxyz(10.7779, 20.3362, 4.4556)
Luminance0.2034 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20901C #8C1C90
analogous
#5A901C #20901C #1C9052
triadic
#20901C #1C2090 #901C20
tetradic
#20901C #1C5A90 #8C1C90 #90521C
square
#20901C #1C5A90 #8C1C90 #90521C
split-complementary
#20901C #521C90 #901C5A
monochromatic
#092A08 #155D12 #20901C #2BC326 #50DC4A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##20901C#FFFFFF#000000##000000
##20901C1.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: #20901c;
/* rgb */ color: rgb(32, 144, 28);
/* oklch */ color: oklch(57.1% 0.178 142.5);
Tailwind
colors: {
  custom: {
    50: '#70b262',
    500: '#20901c',
    950: '#000000',
  },
}
SCSS
$custom: #20901c;
$custom-light: #70b262;
$custom-dark: #000000;
JSON
{
  "hex": "#20901c",
  "rgb": {
    "r": 32,
    "g": 144,
    "b": 28
  },
  "hsl": {
    "h": 117.931,
    "s": 67.442,
    "l": 33.725
  },
  "oklch": {
    "l": 0.57106,
    "c": 0.17832,
    "h": 142.5
  },
  "luminance": 0.20337
}

Semantic roles & 50–950 ramp

primary
#20901C
secondary
#BA4ABE
accent
#3DEAE4
background
#F7FBF6
surface
#EDF6EB
border
#C8D0C6
text
#091106
muted
#7B807A

Preview Lab

Preview with #20901C

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

Preview Lab → · Contrast checker → · Palette generator →

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