#31A459#31A459

#31A459 is a light, vivid green. Relative luminance 0.279; OKLCH L 63.7% C 0.150 H 150.8°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).

Color values

HEX#31A459
RGBrgb(49, 164, 89)
HSLhsl(141, 54%, 42%)
HSVhsv(141, 70%, 64%)
CMYKcmyk(70.1%, 0%, 45.7%, 35.7%)
CIE-LABlab(59.82, -48.77, 29.83)
CIE-LCHlch(59.82, 57.17, 148.55°)
OKLaboklab(63.71% -0.1314 0.0733)
OKLCHoklch(63.71% 0.15 150.8)
XYZxyz(16.3439, 27.9234, 13.9777)
Luminance0.2792 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A459 #A4317C
analogous
#42A431 #31A459 #31A493
triadic
#31A459 #5931A4 #A45931
tetradic
#31A459 #3142A4 #A4317C #A49331
square
#31A459 #3142A4 #A4317C #A49331
split-complementary
#31A459 #9331A4 #A43142
monochromatic
#154626 #23753F #31A459 #49C976 #79D799

Accessibility & contrast

On white

3.19
#31A459 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.58
#31A459 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A459
6.58:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A459#FFFFFF#000000##000000
##31A4591.003.196.586.58
#FFFFFF3.191.0021.0021.00
#0000006.5821.001.001.00
##0000006.5821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59653
Deuteranopia (green-blind)
#978C5E
Tritanopia (blue-blind)
#00A192
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a459;
/* rgb */ color: rgb(49, 164, 89);
/* oklch */ color: oklch(63.7% 0.150 150.8);
Tailwind
colors: {
  custom: {
    50: '#78c089',
    500: '#31a459',
    950: '#000000',
  },
}
SCSS
$custom: #31a459;
$custom-light: #78c089;
$custom-dark: #000000;
JSON
{
  "hex": "#31a459",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 89
  },
  "hsl": {
    "h": 140.87,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63709,
    "c": 0.15042,
    "h": 150.8
  },
  "luminance": 0.27925
}

Semantic roles & 50–950 ramp

primary
#31A459
secondary
#BF72A4
accent
#4AAADD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A459

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

Preview Lab → · Contrast checker → · Palette generator →

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