#31A95B#31A95B

#31A95B is a light, vivid green. Relative luminance 0.298; OKLCH L 65.1% C 0.155 H 150.8°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).

Color values

HEX#31A95B
RGBrgb(49, 169, 91)
HSLhsl(141, 55%, 43%)
HSVhsv(141, 71%, 66%)
CMYKcmyk(71%, 0%, 46.2%, 33.7%)
CIE-LABlab(61.47, -50.32, 30.89)
CIE-LCHlch(61.47, 59.04, 148.45°)
OKLaboklab(65.08% -0.1355 0.0758)
OKLCHoklch(65.08% 0.155 150.8)
XYZxyz(17.3415, 29.7823, 14.7301)
Luminance0.2978 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A95B #A9317F
analogous
#43A931 #31A95B #31A997
triadic
#31A95B #5B31A9 #A95B31
tetradic
#31A95B #3143A9 #A9317F #A99731
square
#31A95B #3143A9 #A9317F #A99731
split-complementary
#31A95B #9731A9 #A93143
monochromatic
#154A28 #237A41 #31A95B #4CCB79 #7CD99C

Accessibility & contrast

On white

3.02
#31A95B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.96
#31A95B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A95B
6.96:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A95B#FFFFFF#000000##000000
##31A95B1.003.026.966.96
#FFFFFF3.021.0021.0021.00
#0000006.9621.001.001.00
##0000006.9621.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9B55
Deuteranopia (green-blind)
#9B9060
Tritanopia (blue-blind)
#00A696
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a95b;
/* rgb */ color: rgb(49, 169, 91);
/* oklch */ color: oklch(65.1% 0.155 150.8);
Tailwind
colors: {
  custom: {
    50: '#79c48a',
    500: '#31a95b',
    950: '#000000',
  },
}
SCSS
$custom: #31a95b;
$custom-light: #79c48a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a95b",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 91
  },
  "hsl": {
    "h": 141,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65078,
    "c": 0.15524,
    "h": 150.8
  },
  "luminance": 0.29784
}

Semantic roles & 50–950 ramp

primary
#31A95B
secondary
#C174A6
accent
#49AADE
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31A95B

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

Preview Lab → · Contrast checker → · Palette generator →

#31A95B Color — HEX, RGB, HSL, OKLCH & Contrast — Tintiva