#31A457#31A457

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

Color values

HEX#31A457
RGBrgb(49, 164, 87)
HSLhsl(140, 54%, 42%)
HSVhsv(140, 70%, 64%)
CMYKcmyk(70.1%, 0%, 47%, 35.7%)
CIE-LABlab(59.79, -49.11, 30.84)
CIE-LCHlch(59.79, 57.99, 147.87°)
OKLaboklab(63.68% -0.1323 0.0755)
OKLCHoklch(63.68% 0.152 150.3)
XYZxyz(16.2611, 27.8902, 13.5413)
Luminance0.2789 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A457 #A4317E
analogous
#45A431 #31A457 #31A491
triadic
#31A457 #5731A4 #A45731
tetradic
#31A457 #3145A4 #A4317E #A49131
square
#31A457 #3145A4 #A4317E #A49131
split-complementary
#31A457 #9131A4 #A43145
monochromatic
#154625 #23753E #31A457 #49C974 #79D798

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A457#FFFFFF#000000##000000
##31A4571.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)
#A59651
Deuteranopia (green-blind)
#978C5C
Tritanopia (blue-blind)
#00A192
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a457;
/* rgb */ color: rgb(49, 164, 87);
/* oklch */ color: oklch(63.7% 0.152 150.3);
Tailwind
colors: {
  custom: {
    50: '#78c087',
    500: '#31a457',
    950: '#000000',
  },
}
SCSS
$custom: #31a457;
$custom-light: #78c087;
$custom-dark: #000000;
JSON
{
  "hex": "#31a457",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 87
  },
  "hsl": {
    "h": 139.826,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63675,
    "c": 0.15231,
    "h": 150.3
  },
  "luminance": 0.27892
}

Semantic roles & 50–950 ramp

primary
#31A457
secondary
#BF72A6
accent
#4AADDD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A457

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

Preview Lab → · Contrast checker → · Palette generator →

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