#2A9531#2A9531

#2A9531 is a mid, vivid green. Relative luminance 0.222; OKLCH L 58.9% C 0.168 H 143.9°. Best body text is #000000 at 5.44:1 contrast (WCAG AA passes).

Color values

HEX#2A9531
RGBrgb(42, 149, 49)
HSLhsl(124, 56%, 37%)
HSVhsv(124, 72%, 58%)
CMYKcmyk(71.8%, 0%, 67.1%, 41.6%)
CIE-LABlab(54.25, -50.18, 42.77)
CIE-LCHlch(54.25, 65.93, 139.56°)
OKLaboklab(58.9% -0.1359 0.099)
OKLCHoklch(58.9% 0.168 143.9)
XYZxyz(12.2559, 22.2075, 6.5457)
Luminance0.2221 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#2A9531 #952A8E
analogous
#59952A #2A9531 #2A9566
triadic
#2A9531 #312A95 #95312A
tetradic
#2A9531 #2A5995 #952A8E #95662A
square
#2A9531 #2A5995 #952A8E #95662A
split-complementary
#2A9531 #662A95 #952A59
monochromatic
#0F3612 #1D6521 #2A9531 #37C541 #66D46D

Accessibility & contrast

On white

3.86
#2A9531 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

5.44
#2A9531 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #2A9531
5.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##2A9531#FFFFFF#000000##000000
##2A95311.003.865.445.44
#FFFFFF3.861.0021.0021.00
#0000005.4421.001.001.00
##0000005.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#988724
Deuteranopia (green-blind)
#8B7E3A
Tritanopia (blue-blind)
#029180
Achromatopsia (no color)
#828282

Design tokens & code

CSS
--color: #2a9531;
/* rgb */ color: rgb(42, 149, 49);
/* oklch */ color: oklch(58.9% 0.168 143.9);
Tailwind
colors: {
  custom: {
    50: '#74b56e',
    500: '#2a9531',
    950: '#000000',
  },
}
SCSS
$custom: #2a9531;
$custom-light: #74b56e;
$custom-dark: #000000;
JSON
{
  "hex": "#2a9531",
  "rgb": {
    "r": 42,
    "g": 149,
    "b": 49
  },
  "hsl": {
    "h": 123.925,
    "s": 56.021,
    "l": 37.451
  },
  "oklch": {
    "l": 0.58898,
    "c": 0.16811,
    "h": 143.9
  },
  "luminance": 0.22209
}

Semantic roles & 50–950 ramp

primary
#2A9531
secondary
#BA61B4
accent
#48D5DF
background
#F7FBF6
surface
#EEF6EC
border
#C9D0C7
text
#091107
muted
#7B807A

Preview Lab

Preview with #2A9531

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

Preview Lab → · Contrast checker → · Palette generator →

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