#31A86C#31A86C

#31A86C is a light, vivid green. Relative luminance 0.297; OKLCH L 65.1% C 0.138 H 156.6°. Best body text is #000000 at 6.95:1 contrast (WCAG AA passes).

Color values

HEX#31A86C
RGBrgb(49, 168, 108)
HSLhsl(150, 55%, 43%)
HSVhsv(150, 71%, 66%)
CMYKcmyk(70.8%, 0%, 35.7%, 34.1%)
CIE-LABlab(61.43, -46.75, 21.78)
CIE-LCHlch(61.43, 51.57, 155.02°)
OKLaboklab(65.14% -0.1266 0.0548)
OKLCHoklch(65.14% 0.138 156.6)
XYZxyz(17.9743, 29.7389, 18.9774)
Luminance0.2974 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A86C #A8316D
analogous
#31A831 #31A86C #31A8A8
triadic
#31A86C #6C31A8 #A86C31
tetradic
#31A86C #3131A8 #A8316D #A8A831
square
#31A86C #3131A8 #A8316D #A8A831
split-complementary
#31A86C #A831A8 #A83131
monochromatic
#15492F #23794E #31A86C #4CCB8B #7BD8A9

Accessibility & contrast

On white

3.02
#31A86C on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.95
#31A86C on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A86C
6.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A86C#FFFFFF#000000##000000
##31A86C1.003.026.956.95
#FFFFFF3.021.0021.0021.00
#0000006.9521.001.001.00
##0000006.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79B68
Deuteranopia (green-blind)
#989070
Tritanopia (blue-blind)
#00A799
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a86c;
/* rgb */ color: rgb(49, 168, 108);
/* oklch */ color: oklch(65.1% 0.138 156.6);
Tailwind
colors: {
  custom: {
    50: '#79c396',
    500: '#31a86c',
    950: '#000000',
  },
}
SCSS
$custom: #31a86c;
$custom-light: #79c396;
$custom-dark: #000000;
JSON
{
  "hex": "#31a86c",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 108
  },
  "hsl": {
    "h": 149.748,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.6514,
    "c": 0.13793,
    "h": 156.6
  },
  "luminance": 0.29741
}

Semantic roles & 50–950 ramp

primary
#31A86C
secondary
#C1749B
accent
#4A95DE
background
#F7FCF9
surface
#EEF8F2
border
#C9D1CC
text
#0A120D
muted
#7C817E

Preview Lab

Preview with #31A86C

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

Preview Lab → · Contrast checker → · Palette generator →

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