#31A666#31A666

#31A666 is a light, vivid green. Relative luminance 0.289; OKLCH L 64.5% C 0.141 H 154.8°. Best body text is #000000 at 6.78:1 contrast (WCAG AA passes).

Color values

HEX#31A666
RGBrgb(49, 166, 102)
HSLhsl(147, 54%, 42%)
HSVhsv(147, 70%, 65%)
CMYKcmyk(70.5%, 0%, 38.6%, 34.9%)
CIE-LABlab(60.68, -47.15, 24.02)
CIE-LCHlch(60.68, 52.92, 153.00°)
OKLaboklab(64.49% -0.1274 0.06)
OKLCHoklch(64.49% 0.141 154.8)
XYZxyz(17.2995, 28.8828, 17.2310)
Luminance0.2888 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A666 #A63171
analogous
#37A631 #31A666 #31A6A0
triadic
#31A666 #6631A6 #A66631
tetradic
#31A666 #3137A6 #A63171 #A6A031
square
#31A666 #3137A6 #A63171 #A6A031
split-complementary
#31A666 #A031A6 #A63137
monochromatic
#15472C #237749 #31A666 #4ACA84 #7AD8A4

Accessibility & contrast

On white

3.10
#31A666 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.78
#31A666 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A666
6.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A666#FFFFFF#000000##000000
##31A6661.003.106.786.78
#FFFFFF3.101.0021.0021.00
#0000006.7821.001.001.00
##0000006.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A69962
Deuteranopia (green-blind)
#978E6A
Tritanopia (blue-blind)
#00A496
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a666;
/* rgb */ color: rgb(49, 166, 102);
/* oklch */ color: oklch(64.5% 0.141 154.8);
Tailwind
colors: {
  custom: {
    50: '#79c192',
    500: '#31a666',
    950: '#000000',
  },
}
SCSS
$custom: #31a666;
$custom-light: #79c192;
$custom-dark: #000000;
JSON
{
  "hex": "#31a666",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 102
  },
  "hsl": {
    "h": 147.179,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64487,
    "c": 0.14083,
    "h": 154.8
  },
  "luminance": 0.28885
}

Semantic roles & 50–950 ramp

primary
#31A666
secondary
#C0739D
accent
#4A9BDE
background
#F7FCF9
surface
#EEF8F1
border
#C9D1CB
text
#0A120D
muted
#7C817E

Preview Lab

Preview with #31A666

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

Preview Lab → · Contrast checker → · Palette generator →

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