#2A9631#2A9631

#2A9631 is a mid, vivid green. Relative luminance 0.225; OKLCH L 59.2% C 0.169 H 143.9°. Best body text is #000000 at 5.51:1 contrast (WCAG AA passes).

Color values

HEX#2A9631
RGBrgb(42, 150, 49)
HSLhsl(124, 56%, 38%)
HSVhsv(124, 72%, 59%)
CMYKcmyk(72%, 0%, 67.3%, 41.2%)
CIE-LABlab(54.58, -50.53, 43.13)
CIE-LCHlch(54.58, 66.44, 139.52°)
OKLaboklab(59.17% -0.1368 0.0997)
OKLCHoklch(59.17% 0.169 143.9)
XYZxyz(12.4148, 22.5253, 6.5987)
Luminance0.2253 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9631 #962A8F
analogous
#59962A #2A9631 #2A9667
triadic
#2A9631 #312A96 #96312A
tetradic
#2A9631 #2A5996 #962A8F #96672A
square
#2A9631 #2A5996 #962A8F #96672A
split-complementary
#2A9631 #672A96 #962A59
monochromatic
#0F3612 #1D6621 #2A9631 #37C641 #66D46D

Accessibility & contrast

On white

3.81
#2A9631 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.51
#2A9631 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9631
5.51:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9631#FFFFFF#000000##000000
##2A96311.003.815.515.51
#FFFFFF3.811.0021.0021.00
#0000005.5121.001.001.00
##0000005.5121.001.001.00

Color blindness preview

Protanopia (red-blind)
#998824
Deuteranopia (green-blind)
#8C7F3A
Tritanopia (blue-blind)
#019281
Achromatopsia (no color)
#838383

Design tokens & code

CSS
--color: #2a9631;
/* rgb */ color: rgb(42, 150, 49);
/* oklch */ color: oklch(59.2% 0.169 143.9);
Tailwind
colors: {
  custom: {
    50: '#74b66e',
    500: '#2a9631',
    950: '#000000',
  },
}
SCSS
$custom: #2a9631;
$custom-light: #74b66e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9631",
  "rgb": {
    "r": 42,
    "g": 150,
    "b": 49
  },
  "hsl": {
    "h": 123.889,
    "s": 56.25,
    "l": 37.647
  },
  "oklch": {
    "l": 0.59174,
    "c": 0.16933,
    "h": 143.9
  },
  "luminance": 0.22527
}

Semantic roles & 50–950 ramp

primary
#2A9631
secondary
#BA61B5
accent
#48D6E0
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A9631

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

Preview Lab → · Contrast checker → · Palette generator →

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