#31A461#31A461

#31A461 is a light, vivid green. Relative luminance 0.281; OKLCH L 63.9% C 0.143 H 153.4°. Best body text is #000000 at 6.61:1 contrast (WCAG AA passes).

Color values

HEX#31A461
RGBrgb(49, 164, 97)
HSLhsl(145, 54%, 42%)
HSVhsv(145, 70%, 64%)
CMYKcmyk(70.1%, 0%, 40.9%, 35.7%)
CIE-LABlab(59.95, -47.32, 25.75)
CIE-LCHlch(59.95, 53.87, 151.45°)
OKLaboklab(63.86% -0.1277 0.064)
OKLCHoklch(63.86% 0.143 153.4)
XYZxyz(16.6983, 28.0651, 15.8440)
Luminance0.2807 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A461 #A43174
analogous
#3BA431 #31A461 #31A49B
triadic
#31A461 #6131A4 #A46131
tetradic
#31A461 #313BA4 #A43174 #A49B31
square
#31A461 #313BA4 #A43174 #A49B31
split-complementary
#31A461 #9B31A4 #A4313B
monochromatic
#154629 #237545 #31A461 #49C97F #79D7A0

Accessibility & contrast

On white

3.18
#31A461 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.61
#31A461 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A461
6.61:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A461#FFFFFF#000000##000000
##31A4611.003.186.616.61
#FFFFFF3.181.0021.0021.00
#0000006.6121.001.001.00
##0000006.6121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4975C
Deuteranopia (green-blind)
#968C65
Tritanopia (blue-blind)
#00A293
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a461;
/* rgb */ color: rgb(49, 164, 97);
/* oklch */ color: oklch(63.9% 0.143 153.4);
Tailwind
colors: {
  custom: {
    50: '#78c08e',
    500: '#31a461',
    950: '#000000',
  },
}
SCSS
$custom: #31a461;
$custom-light: #78c08e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a461",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 97
  },
  "hsl": {
    "h": 145.043,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63857,
    "c": 0.14284,
    "h": 153.4
  },
  "luminance": 0.28067
}

Semantic roles & 50–950 ramp

primary
#31A461
secondary
#BF729F
accent
#4AA0DD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A461

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

Preview Lab → · Contrast checker → · Palette generator →

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