#2A8A20#2A8A20

#2A8A20 is a mid, vivid green. Relative luminance 0.188; OKLCH L 55.7% C 0.166 H 141.8°. Best body text is #000000 at 4.75:1 contrast (WCAG AA passes).

Color values

HEX#2A8A20
RGBrgb(42, 138, 32)
HSLhsl(114, 62%, 33%)
HSVhsv(114, 77%, 54%)
CMYKcmyk(69.6%, 0%, 76.8%, 45.9%)
CIE-LABlab(50.42, -47.89, 45.64)
CIE-LCHlch(50.42, 66.15, 136.37°)
OKLaboklab(55.68% -0.1305 0.1028)
OKLCHoklch(55.68% 0.166 141.8)
XYZxyz(10.3035, 18.7724, 4.4467)
Luminance0.1877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A8A20 #80208A
analogous
#5F8A20 #2A8A20 #208A4B
triadic
#2A8A20 #202A8A #8A202A
tetradic
#2A8A20 #205F8A #80208A #8A4B20
square
#2A8A20 #205F8A #80208A #8A4B20
split-complementary
#2A8A20 #4B208A #8A205F
monochromatic
#0C2709 #1B5814 #2A8A20 #39BC2C #5BD64E

Accessibility & contrast

On white

4.42
#2A8A20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

4.75
#2A8A20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A8A20
4.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A8A20#FFFFFF#000000##000000
##2A8A201.004.424.754.75
#FFFFFF4.421.0021.0021.00
#0000004.7521.001.001.00
##0000004.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#8D7D09
Deuteranopia (green-blind)
#82752B
Tritanopia (blue-blind)
#148676
Achromatopsia (no color)
#787878

Design tokens & code

CSS
--color: #2a8a20;
/* rgb */ color: rgb(42, 138, 32);
/* oklch */ color: oklch(55.7% 0.166 141.8);
Tailwind
colors: {
  custom: {
    50: '#72ad63',
    500: '#2a8a20',
    950: '#000000',
  },
}
SCSS
$custom: #2a8a20;
$custom-light: #72ad63;
$custom-dark: #000000;
JSON
{
  "hex": "#2a8a20",
  "rgb": {
    "r": 42,
    "g": 138,
    "b": 32
  },
  "hsl": {
    "h": 114.34,
    "s": 62.353,
    "l": 33.333
  },
  "oklch": {
    "l": 0.55684,
    "c": 0.16617,
    "h": 141.8
  },
  "luminance": 0.18773
}

Semantic roles & 50–950 ramp

primary
#2A8A20
secondary
#AF4DB9
accent
#42E5D6
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091006
muted
#7B7F7A

Preview Lab

Preview with #2A8A20

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

Preview Lab → · Contrast checker → · Palette generator →

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