#31A660#31A660

#31A660 is a light, vivid green. Relative luminance 0.288; OKLCH L 64.4% C 0.147 H 152.7°. Best body text is #000000 at 6.75:1 contrast (WCAG AA passes).

Color values

HEX#31A660
RGBrgb(49, 166, 96)
HSLhsl(144, 54%, 42%)
HSVhsv(144, 70%, 65%)
CMYKcmyk(70.5%, 0%, 42.2%, 34.9%)
CIE-LABlab(60.58, -48.29, 27.11)
CIE-LCHlch(60.58, 55.38, 150.69°)
OKLaboklab(64.37% -0.1302 0.0672)
OKLCHoklch(64.37% 0.147 152.7)
XYZxyz(17.0127, 28.7680, 15.7203)
Luminance0.2877 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A660 #A63177
analogous
#3CA631 #31A660 #31A69B
triadic
#31A660 #6031A6 #A66031
tetradic
#31A660 #313CA6 #A63177 #A69B31
square
#31A660 #313CA6 #A63177 #A69B31
split-complementary
#31A660 #9B31A6 #A6313C
monochromatic
#154729 #237745 #31A660 #4ACA7E #7AD89F

Accessibility & contrast

On white

3.11
#31A660 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.75
#31A660 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A660
6.75:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A660#FFFFFF#000000##000000
##31A6601.003.116.756.75
#FFFFFF3.111.0021.0021.00
#0000006.7521.001.001.00
##0000006.7521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A6985B
Deuteranopia (green-blind)
#988E65
Tritanopia (blue-blind)
#00A495
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a660;
/* rgb */ color: rgb(49, 166, 96);
/* oklch */ color: oklch(64.4% 0.147 152.7);
Tailwind
colors: {
  custom: {
    50: '#79c18e',
    500: '#31a660',
    950: '#000000',
  },
}
SCSS
$custom: #31a660;
$custom-light: #79c18e;
$custom-dark: #000000;
JSON
{
  "hex": "#31a660",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 96
  },
  "hsl": {
    "h": 144.103,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.6437,
    "c": 0.14651,
    "h": 152.7
  },
  "luminance": 0.2877
}

Semantic roles & 50–950 ramp

primary
#31A660
secondary
#C073A1
accent
#4AA2DE
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A660

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

Preview Lab → · Contrast checker → · Palette generator →

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