#2A8D20#2A8D20

#2A8D20 is a mid, vivid green. Relative luminance 0.196; OKLCH L 56.5% C 0.170 H 141.8°. Best body text is #000000 at 4.93:1 contrast (WCAG AA passes).

Color values

HEX#2A8D20
RGBrgb(42, 141, 32)
HSLhsl(114, 63%, 34%)
HSVhsv(114, 77%, 55%)
CMYKcmyk(70.2%, 0%, 77.3%, 44.7%)
CIE-LABlab(51.43, -48.94, 46.65)
CIE-LCHlch(51.43, 67.61, 136.37°)
OKLaboklab(56.52% -0.1334 0.1049)
OKLCHoklch(56.52% 0.17 141.8)
XYZxyz(10.7398, 19.6451, 4.5921)
Luminance0.1965 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8D20 #83208D
analogous
#618D20 #2A8D20 #208D4D
triadic
#2A8D20 #202A8D #8D202A
tetradic
#2A8D20 #20618D #83208D #8D4D20
square
#2A8D20 #20618D #83208D #8D4D20
split-complementary
#2A8D20 #4D208D #8D2061
monochromatic
#0C2909 #1B5B15 #2A8D20 #39BF2B #5DD750

Accessibility & contrast

On white

4.26
#2A8D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.93
#2A8D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8D20
4.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8D20#FFFFFF#000000##000000
##2A8D201.004.264.934.93
#FFFFFF4.261.0021.0021.00
#0000004.9321.001.001.00
##0000004.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#907F08
Deuteranopia (green-blind)
#85782C
Tritanopia (blue-blind)
#128978
Achromatopsia (no color)
#7B7B7B

Design tokens & code

CSS
--color: #2a8d20;
/* rgb */ color: rgb(42, 141, 32);
/* oklch */ color: oklch(56.5% 0.170 141.8);
Tailwind
colors: {
  custom: {
    50: '#73af64',
    500: '#2a8d20',
    950: '#000000',
  },
}
SCSS
$custom: #2a8d20;
$custom-light: #73af64;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8d20",
  "rgb": {
    "r": 42,
    "g": 141,
    "b": 32
  },
  "hsl": {
    "h": 114.495,
    "s": 63.006,
    "l": 33.922
  },
  "oklch": {
    "l": 0.56524,
    "c": 0.1697,
    "h": 141.8
  },
  "luminance": 0.19646
}

Semantic roles & 50–950 ramp

primary
#2A8D20
secondary
#B14EBA
accent
#42E6D7
background
#F7FAF6
surface
#EDF5EB
border
#C8CFC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8D20

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

Preview Lab → · Contrast checker → · Palette generator →

#2A8D20 Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva