#20A126#20A126

#20A126 is a mid, vivid green. Relative luminance 0.259; OKLCH L 61.9% C 0.192 H 143.3°. Best body text is #000000 at 6.19:1 contrast (WCAG AA passes).

Color values

HEX#20A126
RGBrgb(32, 161, 38)
HSLhsl(123, 67%, 38%)
HSVhsv(123, 80%, 63%)
CMYKcmyk(80.1%, 0%, 76.4%, 36.9%)
CIE-LABlab(57.98, -56.77, 50.94)
CIE-LCHlch(57.98, 76.27, 138.10°)
OKLaboklab(61.92% -0.1538 0.1147)
OKLCHoklch(61.92% 0.192 143.3)
XYZxyz(13.6895, 25.9351, 6.1178)
Luminance0.2594 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#20A126 #A1209B
analogous
#5AA120 #20A126 #20A167
triadic
#20A126 #2620A1 #A12620
tetradic
#20A126 #205AA1 #A1209B #A16720
square
#20A126 #205AA1 #A1209B #A16720
split-complementary
#20A126 #6720A1 #A1205A
monochromatic
#0C3B0E #166E1A #20A126 #2AD432 #5DDF63

Accessibility & contrast

On white

3.39
#20A126 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.19
#20A126 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #20A126
6.19:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##20A126#FFFFFF#000000##000000
##20A1261.003.396.196.19
#FFFFFF3.391.0021.0021.00
#0000006.1921.001.001.00
##0000006.1921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4910A
Deuteranopia (green-blind)
#978834
Tritanopia (blue-blind)
#009C8A
Achromatopsia (no color)
#8B8B8B

Design tokens & code

CSS
--color: #20a126;
/* rgb */ color: rgb(32, 161, 38);
/* oklch */ color: oklch(61.9% 0.192 143.3);
Tailwind
colors: {
  custom: {
    50: '#74be69',
    500: '#20a126',
    950: '#000000',
  },
}
SCSS
$custom: #20a126;
$custom-light: #74be69;
$custom-dark: #000000;
JSON
{
  "hex": "#20a126",
  "rgb": {
    "r": 32,
    "g": 161,
    "b": 38
  },
  "hsl": {
    "h": 122.791,
    "s": 66.839,
    "l": 37.843
  },
  "oklch": {
    "l": 0.61915,
    "c": 0.1919,
    "h": 143.3
  },
  "luminance": 0.25937
}

Semantic roles & 50–950 ramp

primary
#20A126
secondary
#C35ABE
accent
#3EE2EA
background
#F7FBF6
surface
#EEF7EB
border
#C9D0C6
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #20A126

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

Preview Lab → · Contrast checker → · Palette generator →

#20A126 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva