#31A15F#31A15F

#31A15F is a light, vivid green. Relative luminance 0.270; OKLCH L 63.0% C 0.141 H 153.2°. Best body text is #000000 at 6.39:1 contrast (WCAG AA passes).

Color values

HEX#31A15F
RGBrgb(49, 161, 95)
HSLhsl(145, 53%, 41%)
HSVhsv(145, 70%, 63%)
CMYKcmyk(69.6%, 0%, 41%, 36.9%)
CIE-LABlab(58.94, -46.52, 25.50)
CIE-LCHlch(58.94, 53.05, 151.27°)
OKLaboklab(63.02% -0.1255 0.0634)
OKLCHoklch(63.02% 0.141 153.2)
XYZxyz(16.0757, 26.9672, 15.1822)
Luminance0.2697 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A15F #A13173
analogous
#3BA131 #31A15F #31A197
triadic
#31A15F #5F31A1 #A15F31
tetradic
#31A15F #313BA1 #A13173 #A19731
square
#31A15F #313BA1 #A13173 #A19731
split-complementary
#31A15F #9731A1 #A1313B
monochromatic
#144328 #237243 #31A15F #48C77C #77D69E

Accessibility & contrast

On white

3.28
#31A15F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.39
#31A15F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A15F
6.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A15F#FFFFFF#000000##000000
##31A15F1.003.286.396.39
#FFFFFF3.281.0021.0021.00
#0000006.3921.001.001.00
##0000006.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A1945A
Deuteranopia (green-blind)
#938A63
Tritanopia (blue-blind)
#009F91
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a15f;
/* rgb */ color: rgb(49, 161, 95);
/* oklch */ color: oklch(63.0% 0.141 153.2);
Tailwind
colors: {
  custom: {
    50: '#78be8d',
    500: '#31a15f',
    950: '#000000',
  },
}
SCSS
$custom: #31a15f;
$custom-light: #78be8d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a15f",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 95
  },
  "hsl": {
    "h": 144.643,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.63019,
    "c": 0.14064,
    "h": 153.2
  },
  "luminance": 0.26969
}

Semantic roles & 50–950 ramp

primary
#31A15F
secondary
#BE709E
accent
#4BA1DD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A15F

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

Preview Lab → · Contrast checker → · Palette generator →

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