#31A554#31A554

#31A554 is a light, vivid green. Relative luminance 0.282; OKLCH L 63.9% C 0.156 H 149.4°. Best body text is #000000 at 6.64:1 contrast (WCAG AA passes).

Color values

HEX#31A554
RGBrgb(49, 165, 84)
HSLhsl(138, 54%, 42%)
HSVhsv(138, 70%, 65%)
CMYKcmyk(70.3%, 0%, 49.1%, 35.3%)
CIE-LABlab(60.07, -49.98, 32.75)
CIE-LCHlch(60.07, 59.76, 146.76°)
OKLaboklab(63.89% -0.1346 0.0797)
OKLCHoklch(63.89% 0.156 149.4)
XYZxyz(16.3207, 28.2015, 12.9691)
Luminance0.2820 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A554 #A53182
analogous
#48A531 #31A554 #31A58E
triadic
#31A554 #5431A5 #A55431
tetradic
#31A554 #3148A5 #A53182 #A58E31
square
#31A554 #3148A5 #A53182 #A58E31
split-complementary
#31A554 #8E31A5 #A53148
monochromatic
#154724 #23763C #31A554 #4AC970 #79D796

Accessibility & contrast

On white

3.16
#31A554 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.64
#31A554 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A554
6.64:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A554#FFFFFF#000000##000000
##31A5541.003.166.646.64
#FFFFFF3.161.0021.0021.00
#0000006.6421.001.001.00
##0000006.6421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6974D
Deuteranopia (green-blind)
#988D5A
Tritanopia (blue-blind)
#00A292
Achromatopsia (no color)
#919191

Design tokens & code

CSS
--color: #31a554;
/* rgb */ color: rgb(49, 165, 84);
/* oklch */ color: oklch(63.9% 0.156 149.4);
Tailwind
colors: {
  custom: {
    50: '#79c185',
    500: '#31a554',
    950: '#000000',
  },
}
SCSS
$custom: #31a554;
$custom-light: #79c185;
$custom-dark: #000000;
JSON
{
  "hex": "#31a554",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 84
  },
  "hsl": {
    "h": 138.103,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63893,
    "c": 0.15644,
    "h": 149.4
  },
  "luminance": 0.28203
}

Semantic roles & 50–950 ramp

primary
#31A554
secondary
#C072A8
accent
#4AB1DE
background
#F7FCF8
surface
#EEF8EF
border
#C9D1CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A554

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

Preview Lab → · Contrast checker → · Palette generator →

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