#2A9F31#2A9F31

#2A9F31 is a mid, vivid green. Relative luminance 0.255; OKLCH L 61.7% C 0.180 H 143.7°. Best body text is #000000 at 6.10:1 contrast (WCAG AA passes).

Color values

HEX#2A9F31
RGBrgb(42, 159, 49)
HSLhsl(124, 58%, 39%)
HSVhsv(124, 74%, 62%)
CMYKcmyk(73.6%, 0%, 69.2%, 37.6%)
CIE-LABlab(57.57, -53.63, 46.36)
CIE-LCHlch(57.57, 70.89, 139.16°)
OKLaboklab(61.65% -0.1453 0.1065)
OKLCHoklch(61.65% 0.18 143.7)
XYZxyz(13.9065, 25.5087, 7.0959)
Luminance0.2551 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9F31 #9F2A98
analogous
#5E9F2A #2A9F31 #2A9F6C
triadic
#2A9F31 #312A9F #9F312A
tetradic
#2A9F31 #2A5E9F #9F2A98 #9F6C2A
square
#2A9F31 #2A5E9F #9F2A98 #9F6C2A
split-complementary
#2A9F31 #6C2A9F #9F2A5E
monochromatic
#103E13 #1D6F22 #2A9F31 #3BCB44 #6BD872

Accessibility & contrast

On white

3.44
#2A9F31 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.10
#2A9F31 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9F31
6.10:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9F31#FFFFFF#000000##000000
##2A9F311.003.446.106.10
#FFFFFF3.441.0021.0021.00
#0000006.1021.001.001.00
##0000006.1021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29021
Deuteranopia (green-blind)
#95873B
Tritanopia (blue-blind)
#009A89
Achromatopsia (no color)
#8A8A8A

Design tokens & code

CSS
--color: #2a9f31;
/* rgb */ color: rgb(42, 159, 49);
/* oklch */ color: oklch(61.7% 0.180 143.7);
Tailwind
colors: {
  custom: {
    50: '#76bc6f',
    500: '#2a9f31',
    950: '#000000',
  },
}
SCSS
$custom: #2a9f31;
$custom-light: #76bc6f;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9f31",
  "rgb": {
    "r": 42,
    "g": 159,
    "b": 49
  },
  "hsl": {
    "h": 123.59,
    "s": 58.209,
    "l": 39.412
  },
  "oklch": {
    "l": 0.61652,
    "c": 0.18012,
    "h": 143.7
  },
  "luminance": 0.2551
}

Semantic roles & 50–950 ramp

primary
#2A9F31
secondary
#BF66B9
accent
#46D8E1
background
#F7FBF6
surface
#EEF7EC
border
#C9D0C7
text
#0A1208
muted
#7C817B

Preview Lab

Preview with #2A9F31

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

Preview Lab → · Contrast checker → · Palette generator →

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