#2A9C31#2A9C31

#2A9C31 is a mid, vivid green. Relative luminance 0.245; OKLCH L 60.8% C 0.177 H 143.8°. Best body text is #000000 at 5.90:1 contrast (WCAG AA passes).

Color values

HEX#2A9C31
RGBrgb(42, 156, 49)
HSLhsl(124, 58%, 39%)
HSVhsv(124, 73%, 61%)
CMYKcmyk(73.1%, 0%, 68.6%, 38.8%)
CIE-LABlab(56.57, -52.61, 45.29)
CIE-LCHlch(56.57, 69.42, 139.28°)
OKLaboklab(60.83% -0.1425 0.1043)
OKLCHoklch(60.83% 0.177 143.8)
XYZxyz(13.3968, 24.4894, 6.9260)
Luminance0.2449 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9C31 #9C2A95
analogous
#5C9C2A #2A9C31 #2A9C6A
triadic
#2A9C31 #312A9C #9C312A
tetradic
#2A9C31 #2A5C9C #9C2A95 #9C6A2A
square
#2A9C31 #2A5C9C #9C2A95 #9C6A2A
split-complementary
#2A9C31 #6A2A9C #9C2A5C
monochromatic
#103C13 #1D6C22 #2A9C31 #39CA42 #6AD770

Accessibility & contrast

On white

3.56
#2A9C31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.90
#2A9C31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9C31
5.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9C31#FFFFFF#000000##000000
##2A9C311.003.565.905.90
#FFFFFF3.561.0021.0021.00
#0000005.9021.001.001.00
##0000005.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#9F8D22
Deuteranopia (green-blind)
#92843B
Tritanopia (blue-blind)
#009886
Achromatopsia (no color)
#888888

Design tokens & code

CSS
--color: #2a9c31;
/* rgb */ color: rgb(42, 156, 49);
/* oklch */ color: oklch(60.8% 0.177 143.8);
Tailwind
colors: {
  custom: {
    50: '#76ba6f',
    500: '#2a9c31',
    950: '#000000',
  },
}
SCSS
$custom: #2a9c31;
$custom-light: #76ba6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9c31",
  "rgb": {
    "r": 42,
    "g": 156,
    "b": 49
  },
  "hsl": {
    "h": 123.684,
    "s": 57.576,
    "l": 38.824
  },
  "oklch": {
    "l": 0.60828,
    "c": 0.17657,
    "h": 143.8
  },
  "luminance": 0.24491
}

Semantic roles & 50–950 ramp

primary
#2A9C31
secondary
#BD65B8
accent
#47D7E1
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#0A1207
muted
#7C817A

Preview Lab

Preview with #2A9C31

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

Preview Lab → · Contrast checker → · Palette generator →

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