#31A462#31A462

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

Color values

HEX#31A462
RGBrgb(49, 164, 98)
HSLhsl(146, 54%, 42%)
HSVhsv(146, 70%, 64%)
CMYKcmyk(70.1%, 0%, 40.2%, 35.7%)
CIE-LABlab(59.96, -47.13, 25.23)
CIE-LCHlch(59.96, 53.46, 151.84°)
OKLaboklab(63.88% -0.1272 0.0628)
OKLCHoklch(63.88% 0.142 153.7)
XYZxyz(16.7452, 28.0839, 16.0911)
Luminance0.2809 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A462 #A43173
analogous
#3AA431 #31A462 #31A49C
triadic
#31A462 #6231A4 #A46231
tetradic
#31A462 #313AA4 #A43173 #A49C31
square
#31A462 #313AA4 #A43173 #A49C31
split-complementary
#31A462 #9C31A4 #A4313A
monochromatic
#15462A #237546 #31A462 #49C980 #79D7A1

Accessibility & contrast

On white

3.17
#31A462 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.62
#31A462 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A462
6.62:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A462#FFFFFF#000000##000000
##31A4621.003.176.626.62
#FFFFFF3.171.0021.0021.00
#0000006.6221.001.001.00
##0000006.6221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a462;
/* rgb */ color: rgb(49, 164, 98);
/* oklch */ color: oklch(63.9% 0.142 153.7);
Tailwind
colors: {
  custom: {
    50: '#78c08f',
    500: '#31a462',
    950: '#000000',
  },
}
SCSS
$custom: #31a462;
$custom-light: #78c08f;
$custom-dark: #000000;
JSON
{
  "hex": "#31a462",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 98
  },
  "hsl": {
    "h": 145.565,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63876,
    "c": 0.14189,
    "h": 153.7
  },
  "luminance": 0.28086
}

Semantic roles & 50–950 ramp

primary
#31A462
secondary
#BF729E
accent
#4A9FDD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A462

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

Preview Lab → · Contrast checker → · Palette generator →

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