#31A15A#31A15A

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

Color values

HEX#31A15A
RGBrgb(49, 161, 90)
HSLhsl(142, 53%, 41%)
HSVhsv(142, 70%, 63%)
CMYKcmyk(69.6%, 0%, 44.1%, 36.9%)
CIE-LABlab(58.86, -47.44, 28.07)
CIE-LCHlch(58.86, 55.12, 149.39°)
OKLaboklab(62.93% -0.1279 0.0692)
OKLCHoklch(62.93% 0.145 151.6)
XYZxyz(15.8556, 26.8792, 14.0235)
Luminance0.2688 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A15A #A13178
analogous
#40A131 #31A15A #31A192
triadic
#31A15A #5A31A1 #A15A31
tetradic
#31A15A #3140A1 #A13178 #A19231
square
#31A15A #3140A1 #A13178 #A19231
split-complementary
#31A15A #9231A1 #A13140
monochromatic
#144326 #237240 #31A15A #48C777 #77D69A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A15A#FFFFFF#000000##000000
##31A15A1.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)
#A29355
Deuteranopia (green-blind)
#948A5F
Tritanopia (blue-blind)
#009F90
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a15a;
/* rgb */ color: rgb(49, 161, 90);
/* oklch */ color: oklch(62.9% 0.145 151.6);
Tailwind
colors: {
  custom: {
    50: '#78be89',
    500: '#31a15a',
    950: '#000000',
  },
}
SCSS
$custom: #31a15a;
$custom-light: #78be89;
$custom-dark: #000000;
JSON
{
  "hex": "#31a15a",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 90
  },
  "hsl": {
    "h": 141.964,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62925,
    "c": 0.1454,
    "h": 151.6
  },
  "luminance": 0.26881
}

Semantic roles & 50–950 ramp

primary
#31A15A
secondary
#BE70A1
accent
#4BA7DD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A15A

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

Preview Lab → · Contrast checker → · Palette generator →

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