#31A15C#31A15C

#31A15C is a light, vivid green. Relative luminance 0.269; OKLCH L 63.0% C 0.143 H 152.2°. Best body text is #000000 at 6.38:1 contrast (WCAG AA passes).

Color values

HEX#31A15C
RGBrgb(49, 161, 92)
HSLhsl(143, 53%, 41%)
HSVhsv(143, 70%, 63%)
CMYKcmyk(69.6%, 0%, 42.9%, 36.9%)
CIE-LABlab(58.89, -47.08, 27.05)
CIE-LCHlch(58.89, 54.29, 150.12°)
OKLaboklab(62.96% -0.1269 0.0669)
OKLCHoklch(62.96% 0.144 152.2)
XYZxyz(15.9419, 26.9137, 14.4778)
Luminance0.2692 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A15C #A13176
analogous
#3EA131 #31A15C #31A194
triadic
#31A15C #5C31A1 #A15C31
tetradic
#31A15C #313EA1 #A13176 #A19431
square
#31A15C #313EA1 #A13176 #A19431
split-complementary
#31A15C #9431A1 #A1313E
monochromatic
#144326 #237241 #31A15C #48C779 #77D69B

Accessibility & contrast

On white

3.29
#31A15C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.38
#31A15C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A15C
6.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A15C#FFFFFF#000000##000000
##31A15C1.003.296.386.38
#FFFFFF3.291.0021.0021.00
#0000006.3821.001.001.00
##0000006.3821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A19457
Deuteranopia (green-blind)
#938A61
Tritanopia (blue-blind)
#009F90
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a15c;
/* rgb */ color: rgb(49, 161, 92);
/* oklch */ color: oklch(63.0% 0.143 152.2);
Tailwind
colors: {
  custom: {
    50: '#78be8b',
    500: '#31a15c',
    950: '#000000',
  },
}
SCSS
$custom: #31a15c;
$custom-light: #78be8b;
$custom-dark: #000000;
JSON
{
  "hex": "#31a15c",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 92
  },
  "hsl": {
    "h": 143.036,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62962,
    "c": 0.1435,
    "h": 152.2
  },
  "luminance": 0.26915
}

Semantic roles & 50–950 ramp

primary
#31A15C
secondary
#BE70A0
accent
#4BA5DD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A15C

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

Preview Lab → · Contrast checker → · Palette generator →

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