#2A9D20#2A9D20

#2A9D20 is a mid, vivid green. Relative luminance 0.247; OKLCH L 61.0% C 0.188 H 142.0°. Best body text is #000000 at 5.94:1 contrast (WCAG AA passes).

Color values

HEX#2A9D20
RGBrgb(42, 157, 32)
HSLhsl(115, 66%, 37%)
HSVhsv(115, 80%, 62%)
CMYKcmyk(73.2%, 0%, 79.6%, 38.4%)
CIE-LABlab(56.79, -54.36, 51.86)
CIE-LCHlch(56.79, 75.12, 136.35°)
OKLaboklab(60.97% -0.148 0.1158)
OKLCHoklch(60.97% 0.188 142)
XYZxyz(13.2718, 24.7090, 5.4361)
Luminance0.2471 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9D20 #93209D
analogous
#699D20 #2A9D20 #209D55
triadic
#2A9D20 #202A9D #9D202A
tetradic
#2A9D20 #20699D #93209D #9D5520
square
#2A9D20 #20699D #93209D #9D5520
split-complementary
#2A9D20 #55209D #9D2069
monochromatic
#0F370B #1C6A16 #2A9D20 #38D02A #65DD5A

Accessibility & contrast

On white

3.53
#2A9D20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.94
#2A9D20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9D20
5.94:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9D20#FFFFFF#000000##000000
##2A9D201.003.535.945.94
#FFFFFF3.531.0021.0021.00
#0000005.9421.001.001.00
##0000005.9421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A18E00
Deuteranopia (green-blind)
#94852F
Tritanopia (blue-blind)
#029886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2a9d20;
/* rgb */ color: rgb(42, 157, 32);
/* oklch */ color: oklch(61.0% 0.188 142.0);
Tailwind
colors: {
  custom: {
    50: '#77bb66',
    500: '#2a9d20',
    950: '#000000',
  },
}
SCSS
$custom: #2a9d20;
$custom-light: #77bb66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9d20",
  "rgb": {
    "r": 42,
    "g": 157,
    "b": 32
  },
  "hsl": {
    "h": 115.2,
    "s": 66.138,
    "l": 37.059
  },
  "oklch": {
    "l": 0.60971,
    "c": 0.18793,
    "h": 142
  },
  "luminance": 0.2471
}

Semantic roles & 50–950 ramp

primary
#2A9D20
secondary
#B957C1
accent
#3FE9DB
background
#F7FBF6
surface
#EEF6EB
border
#C9D0C6
text
#0A1206
muted
#7C817A

Preview Lab

Preview with #2A9D20

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

Preview Lab → · Contrast checker → · Palette generator →

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