#2A9C20#2A9C20

#2A9C20 is a mid, vivid green. Relative luminance 0.244; OKLCH L 60.7% C 0.187 H 142.0°. Best body text is #000000 at 5.87:1 contrast (WCAG AA passes).

Color values

HEX#2A9C20
RGBrgb(42, 156, 32)
HSLhsl(115, 66%, 37%)
HSVhsv(115, 79%, 61%)
CMYKcmyk(73.1%, 0%, 79.5%, 38.8%)
CIE-LABlab(56.46, -54.02, 51.54)
CIE-LCHlch(56.46, 74.67, 136.35°)
OKLaboklab(60.7% -0.1471 0.1151)
OKLCHoklch(60.7% 0.187 142)
XYZxyz(13.1033, 24.3720, 5.3799)
Luminance0.2437 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9C20 #92209C
analogous
#689C20 #2A9C20 #209C54
triadic
#2A9C20 #202A9C #9C202A
tetradic
#2A9C20 #20689C #92209C #9C5420
square
#2A9C20 #20689C #92209C #9C5420
split-complementary
#2A9C20 #54209C #9C2068
monochromatic
#0F360B #1C6916 #2A9C20 #38CF2A #64DD59

Accessibility & contrast

On white

3.57
#2A9C20 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.87
#2A9C20 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9C20
5.87:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9C20#FFFFFF#000000##000000
##2A9C201.003.575.875.87
#FFFFFF3.571.0021.0021.00
#0000005.8721.001.001.00
##0000005.8721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A08D00
Deuteranopia (green-blind)
#93842F
Tritanopia (blue-blind)
#039785
Achromatopsia (no color)
#878787

Design tokens & code

CSS
--color: #2a9c20;
/* rgb */ color: rgb(42, 156, 32);
/* oklch */ color: oklch(60.7% 0.187 142.0);
Tailwind
colors: {
  custom: {
    50: '#76ba66',
    500: '#2a9c20',
    950: '#000000',
  },
}
SCSS
$custom: #2a9c20;
$custom-light: #76ba66;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9c20",
  "rgb": {
    "r": 42,
    "g": 156,
    "b": 32
  },
  "hsl": {
    "h": 115.161,
    "s": 65.957,
    "l": 36.863
  },
  "oklch": {
    "l": 0.60695,
    "c": 0.18681,
    "h": 142
  },
  "luminance": 0.24373
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #2A9C20

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

Preview Lab → · Contrast checker → · Palette generator →

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