#31A668#31A668

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

Color values

HEX#31A668
RGBrgb(49, 166, 104)
HSLhsl(148, 54%, 42%)
HSVhsv(148, 70%, 65%)
CMYKcmyk(70.5%, 0%, 37.3%, 34.9%)
CIE-LABlab(60.71, -46.76, 22.99)
CIE-LCHlch(60.71, 52.10, 153.82°)
OKLaboklab(64.53% -0.1264 0.0576)
OKLCHoklch(64.53% 0.139 155.5)
XYZxyz(17.3999, 28.9229, 17.7597)
Luminance0.2893 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A668 #A6316F
analogous
#35A631 #31A668 #31A6A3
triadic
#31A668 #6831A6 #A66831
tetradic
#31A668 #3135A6 #A6316F #A6A331
square
#31A668 #3135A6 #A6316F #A6A331
split-complementary
#31A668 #A331A6 #A63135
monochromatic
#15472D #23774A #31A668 #4ACA86 #7AD8A6

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A668#FFFFFF#000000##000000
##31A6681.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)
#A59964
Deuteranopia (green-blind)
#978E6C
Tritanopia (blue-blind)
#00A496
Achromatopsia (no color)
#929292

Design tokens & code

CSS
--color: #31a668;
/* rgb */ color: rgb(49, 166, 104);
/* oklch */ color: oklch(64.5% 0.139 155.5);
Tailwind
colors: {
  custom: {
    50: '#79c193',
    500: '#31a668',
    950: '#000000',
  },
}
SCSS
$custom: #31a668;
$custom-light: #79c193;
$custom-dark: #000000;
JSON
{
  "hex": "#31a668",
  "rgb": {
    "r": 49,
    "g": 166,
    "b": 104
  },
  "hsl": {
    "h": 148.205,
    "s": 54.419,
    "l": 42.157
  },
  "oklch": {
    "l": 0.64528,
    "c": 0.13895,
    "h": 155.5
  },
  "luminance": 0.28925
}

Semantic roles & 50–950 ramp

primary
#31A668
secondary
#C0739C
accent
#4A98DE
background
#F7FCF9
surface
#EEF8F1
border
#C9D1CB
text
#0A120D
muted
#7C817E

Preview Lab

Preview with #31A668

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

Preview Lab → · Contrast checker → · Palette generator →

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