#31A458#31A458

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

Color values

HEX#31A458
RGBrgb(49, 164, 88)
HSLhsl(140, 54%, 42%)
HSVhsv(140, 70%, 64%)
CMYKcmyk(70.1%, 0%, 46.3%, 35.7%)
CIE-LABlab(59.80, -48.94, 30.34)
CIE-LCHlch(59.80, 57.58, 148.21°)
OKLaboklab(63.69% -0.1318 0.0744)
OKLCHoklch(63.69% 0.151 150.6)
XYZxyz(16.3022, 27.9067, 13.7580)
Luminance0.2791 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A458 #A4317D
analogous
#43A431 #31A458 #31A492
triadic
#31A458 #5831A4 #A45831
tetradic
#31A458 #3143A4 #A4317D #A49231
square
#31A458 #3143A4 #A4317D #A49231
split-complementary
#31A458 #9231A4 #A43143
monochromatic
#154625 #23753F #31A458 #49C975 #79D799

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A458#FFFFFF#000000##000000
##31A4581.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)
#A59652
Deuteranopia (green-blind)
#978C5D
Tritanopia (blue-blind)
#00A192
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a458;
/* rgb */ color: rgb(49, 164, 88);
/* oklch */ color: oklch(63.7% 0.151 150.6);
Tailwind
colors: {
  custom: {
    50: '#78c088',
    500: '#31a458',
    950: '#000000',
  },
}
SCSS
$custom: #31a458;
$custom-light: #78c088;
$custom-dark: #000000;
JSON
{
  "hex": "#31a458",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 88
  },
  "hsl": {
    "h": 140.348,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63692,
    "c": 0.15137,
    "h": 150.6
  },
  "luminance": 0.27908
}

Semantic roles & 50–950 ramp

primary
#31A458
secondary
#BF72A5
accent
#4AACDD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A458

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

Preview Lab → · Contrast checker → · Palette generator →

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