#31A95C#31A95C

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

Color values

HEX#31A95C
RGBrgb(49, 169, 92)
HSLhsl(142, 55%, 43%)
HSVhsv(142, 71%, 66%)
CMYKcmyk(71%, 0%, 45.6%, 33.7%)
CIE-LABlab(61.48, -50.15, 30.39)
CIE-LCHlch(61.48, 58.64, 148.78°)
OKLaboklab(65.1% -0.135 0.0747)
OKLCHoklch(65.1% 0.154 151.1)
XYZxyz(17.3849, 29.7997, 14.9588)
Luminance0.2980 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A95C #A9317E
analogous
#42A931 #31A95C #31A998
triadic
#31A95C #5C31A9 #A95C31
tetradic
#31A95C #3142A9 #A9317E #A99831
square
#31A95C #3142A9 #A9317E #A99831
split-complementary
#31A95C #9831A9 #A93142
monochromatic
#154A28 #237A42 #31A95C #4CCB7A #7CD99D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A95C#FFFFFF#000000##000000
##31A95C1.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)
#AA9B56
Deuteranopia (green-blind)
#9B9061
Tritanopia (blue-blind)
#00A696
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a95c;
/* rgb */ color: rgb(49, 169, 92);
/* oklch */ color: oklch(65.1% 0.154 151.1);
Tailwind
colors: {
  custom: {
    50: '#79c48b',
    500: '#31a95c',
    950: '#000000',
  },
}
SCSS
$custom: #31a95c;
$custom-light: #79c48b;
$custom-dark: #000000;
JSON
{
  "hex": "#31a95c",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 92
  },
  "hsl": {
    "h": 141.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65095,
    "c": 0.1543,
    "h": 151.1
  },
  "luminance": 0.29802
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A95C

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

Preview Lab → · Contrast checker → · Palette generator →

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