#31A258#31A258

#31A258 is a light, vivid green. Relative luminance 0.272; OKLCH L 63.2% C 0.149 H 150.8°. Best body text is #000000 at 6.44:1 contrast (WCAG AA passes).

Color values

HEX#31A258
RGBrgb(49, 162, 88)
HSLhsl(141, 54%, 41%)
HSVhsv(141, 70%, 64%)
CMYKcmyk(69.8%, 0%, 45.7%, 36.5%)
CIE-LABlab(59.16, -48.17, 29.51)
CIE-LCHlch(59.16, 56.49, 148.51°)
OKLaboklab(63.16% -0.1298 0.0725)
OKLCHoklch(63.16% 0.149 150.8)
XYZxyz(15.9471, 27.1965, 13.6396)
Luminance0.2720 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A258 #A2317B
analogous
#43A231 #31A258 #31A291
triadic
#31A258 #5831A2 #A25831
tetradic
#31A258 #3143A2 #A2317B #A29131
square
#31A258 #3143A2 #A2317B #A29131
split-complementary
#31A258 #9131A2 #A23143
monochromatic
#154425 #23733E #31A258 #48C874 #77D698

Accessibility & contrast

On white

3.26
#31A258 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.44
#31A258 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A258
6.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A258#FFFFFF#000000##000000
##31A2581.003.266.446.44
#FFFFFF3.261.0021.0021.00
#0000006.4421.001.001.00
##0000006.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39452
Deuteranopia (green-blind)
#958B5D
Tritanopia (blue-blind)
#009F90
Achromatopsia (no color)
#8E8E8E

Design tokens & code

CSS
--color: #31a258;
/* rgb */ color: rgb(49, 162, 88);
/* oklch */ color: oklch(63.2% 0.149 150.8);
Tailwind
colors: {
  custom: {
    50: '#78be88',
    500: '#31a258',
    950: '#000000',
  },
}
SCSS
$custom: #31a258;
$custom-light: #78be88;
$custom-dark: #000000;
JSON
{
  "hex": "#31a258",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 88
  },
  "hsl": {
    "h": 140.708,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63157,
    "c": 0.14866,
    "h": 150.8
  },
  "luminance": 0.27198
}

Semantic roles & 50–950 ramp

primary
#31A258
secondary
#BE71A3
accent
#4BABDD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A258

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

Preview Lab → · Contrast checker → · Palette generator →

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