#31A366#31A366

#31A366 is a light, vivid green. Relative luminance 0.278; OKLCH L 63.7% C 0.137 H 155.4°. Best body text is #000000 at 6.56:1 contrast (WCAG AA passes).

Color values

HEX#31A366
RGBrgb(49, 163, 102)
HSLhsl(148, 54%, 42%)
HSVhsv(148, 70%, 64%)
CMYKcmyk(69.9%, 0%, 37.4%, 36.1%)
CIE-LABlab(59.71, -45.96, 22.74)
CIE-LCHlch(59.71, 51.28, 153.68°)
OKLaboklab(63.69% -0.1243 0.057)
OKLCHoklch(63.69% 0.137 155.4)
XYZxyz(16.7606, 27.8048, 17.0514)
Luminance0.2781 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A366 #A3316E
analogous
#35A331 #31A366 #31A39F
triadic
#31A366 #6631A3 #A36631
tetradic
#31A366 #3135A3 #A3316E #A39F31
square
#31A366 #3135A3 #A3316E #A39F31
split-complementary
#31A366 #9F31A3 #A33135
monochromatic
#15452B #237449 #31A366 #49C884 #78D6A4

Accessibility & contrast

On white

3.20
#31A366 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.56
#31A366 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A366
6.56:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A366#FFFFFF#000000##000000
##31A3661.003.206.566.56
#FFFFFF3.201.0021.0021.00
#0000006.5621.001.001.00
##0000006.5621.001.001.00

Color blindness preview

Protanopia (red-blind)
#A29662
Deuteranopia (green-blind)
#948C6A
Tritanopia (blue-blind)
#00A193
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a366;
/* rgb */ color: rgb(49, 163, 102);
/* oklch */ color: oklch(63.7% 0.137 155.4);
Tailwind
colors: {
  custom: {
    50: '#78bf92',
    500: '#31a366',
    950: '#000000',
  },
}
SCSS
$custom: #31a366;
$custom-light: #78bf92;
$custom-dark: #000000;
JSON
{
  "hex": "#31a366",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 102
  },
  "hsl": {
    "h": 147.895,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63691,
    "c": 0.13673,
    "h": 155.4
  },
  "luminance": 0.27807
}

Semantic roles & 50–950 ramp

primary
#31A366
secondary
#BF719B
accent
#4B99DD
background
#F7FBF9
surface
#EEF7F1
border
#C9D0CB
text
#0A120D
muted
#7C817E

Preview Lab

Preview with #31A366

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

Preview Lab → · Contrast checker → · Palette generator →

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