#31A256#31A256

#31A256 is a light, vivid green. Relative luminance 0.272; OKLCH L 63.1% C 0.151 H 150.2°. Best body text is #000000 at 6.43:1 contrast (WCAG AA passes).

Color values

HEX#31A256
RGBrgb(49, 162, 86)
HSLhsl(140, 54%, 41%)
HSVhsv(140, 70%, 64%)
CMYKcmyk(69.8%, 0%, 46.9%, 36.5%)
CIE-LABlab(59.13, -48.52, 30.52)
CIE-LCHlch(59.13, 57.32, 147.83°)
OKLaboklab(63.12% -0.1307 0.0747)
OKLCHoklch(63.12% 0.151 150.2)
XYZxyz(15.8654, 27.1638, 13.2093)
Luminance0.2717 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A256 #A2317D
analogous
#45A231 #31A256 #31A28F
triadic
#31A256 #5631A2 #A25631
tetradic
#31A256 #3145A2 #A2317D #A28F31
square
#31A256 #3145A2 #A2317D #A28F31
split-complementary
#31A256 #8F31A2 #A23145
monochromatic
#154424 #23733D #31A256 #48C872 #77D696

Accessibility & contrast

On white

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

On black

6.43
#31A256 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A256
6.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A256#FFFFFF#000000##000000
##31A2561.003.266.436.43
#FFFFFF3.261.0021.0021.00
#0000006.4321.001.001.00
##0000006.4321.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a256;
/* rgb */ color: rgb(49, 162, 86);
/* oklch */ color: oklch(63.1% 0.151 150.2);
Tailwind
colors: {
  custom: {
    50: '#78be87',
    500: '#31a256',
    950: '#000000',
  },
}
SCSS
$custom: #31a256;
$custom-light: #78be87;
$custom-dark: #000000;
JSON
{
  "hex": "#31a256",
  "rgb": {
    "r": 49,
    "g": 162,
    "b": 86
  },
  "hsl": {
    "h": 139.646,
    "s": 53.555,
    "l": 41.373
  },
  "oklch": {
    "l": 0.63122,
    "c": 0.15055,
    "h": 150.2
  },
  "luminance": 0.27166
}

Semantic roles & 50–950 ramp

primary
#31A256
secondary
#BE71A5
accent
#4BADDD
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A256

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

Preview Lab → · Contrast checker → · Palette generator →

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