#31A95F#31A95F

#31A95F is a light, vivid green. Relative luminance 0.299; OKLCH L 65.1% C 0.151 H 151.9°. Best body text is #000000 at 6.97:1 contrast (WCAG AA passes).

Color values

HEX#31A95F
RGBrgb(49, 169, 95)
HSLhsl(143, 55%, 43%)
HSVhsv(143, 71%, 66%)
CMYKcmyk(71%, 0%, 43.8%, 33.7%)
CIE-LABlab(61.53, -49.62, 28.87)
CIE-LCHlch(61.53, 57.41, 149.81°)
OKLaboklab(65.15% -0.1337 0.0713)
OKLCHoklch(65.15% 0.152 151.9)
XYZxyz(17.5187, 29.8532, 15.6632)
Luminance0.2985 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A95F #A9317B
analogous
#3FA931 #31A95F #31A99B
triadic
#31A95F #5F31A9 #A95F31
tetradic
#31A95F #313FA9 #A9317B #A99B31
square
#31A95F #313FA9 #A9317B #A99B31
split-complementary
#31A95F #9B31A9 #A9313F
monochromatic
#154A2A #237A44 #31A95F #4CCB7D #7CD99F

Accessibility & contrast

On white

3.01
#31A95F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.97
#31A95F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A95F
6.97:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A95F#FFFFFF#000000##000000
##31A95F1.003.016.976.97
#FFFFFF3.011.0021.0021.00
#0000006.9721.001.001.00
##0000006.9721.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99B5A
Deuteranopia (green-blind)
#9B9064
Tritanopia (blue-blind)
#00A697
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31a95f;
/* rgb */ color: rgb(49, 169, 95);
/* oklch */ color: oklch(65.1% 0.151 151.9);
Tailwind
colors: {
  custom: {
    50: '#79c48d',
    500: '#31a95f',
    950: '#000000',
  },
}
SCSS
$custom: #31a95f;
$custom-light: #79c48d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a95f",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 95
  },
  "hsl": {
    "h": 143,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.65149,
    "c": 0.1515,
    "h": 151.9
  },
  "luminance": 0.29855
}

Semantic roles & 50–950 ramp

primary
#31A95F
secondary
#C174A4
accent
#49A5DE
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31A95F

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

Preview Lab → · Contrast checker → · Palette generator →

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