#31B366#31B366

#31B366 is a light, vivid green. Relative luminance 0.339; OKLCH L 67.9% C 0.158 H 152.6°. Best body text is #000000 at 7.77:1 contrast (WCAG AA passes).

Color values

HEX#31B366
RGBrgb(49, 179, 102)
HSLhsl(144, 57%, 45%)
HSVhsv(144, 73%, 70%)
CMYKcmyk(72.6%, 0%, 43%, 29.8%)
CIE-LABlab(64.84, -52.15, 29.50)
CIE-LCHlch(64.84, 59.91, 150.50°)
OKLaboklab(67.92% -0.1404 0.0729)
OKLCHoklch(67.92% 0.158 152.6)
XYZxyz(19.7833, 33.8502, 18.0589)
Luminance0.3385 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B366 #B3317E
analogous
#3DB331 #31B366 #31B3A7
triadic
#31B366 #6631B3 #B36631
tetradic
#31B366 #313DB3 #B3317E #B3A731
square
#31B366 #313DB3 #B3317E #B3A731
split-complementary
#31B366 #A731B3 #B3313D
monochromatic
#17532F #24834B #31B366 #52D085 #82DDA7

Accessibility & contrast

On white

2.70
#31B366 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.77
#31B366 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B366
7.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B366#FFFFFF#000000##000000
##31B3661.002.707.777.77
#FFFFFF2.701.0021.0021.00
#0000007.7721.001.001.00
##0000007.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A460
Deuteranopia (green-blind)
#A4996B
Tritanopia (blue-blind)
#00B0A0
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b366;
/* rgb */ color: rgb(49, 179, 102);
/* oklch */ color: oklch(67.9% 0.158 152.6);
Tailwind
colors: {
  custom: {
    50: '#7bcb92',
    500: '#31b366',
    950: '#000000',
  },
}
SCSS
$custom: #31b366;
$custom-light: #7bcb92;
$custom-dark: #000000;
JSON
{
  "hex": "#31b366",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 102
  },
  "hsl": {
    "h": 144.462,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67921,
    "c": 0.15826,
    "h": 152.6
  },
  "luminance": 0.33852
}

Semantic roles & 50–950 ramp

primary
#31B366
secondary
#C67AA7
accent
#48A2E0
background
#F8FCF9
surface
#EFF9F1
border
#CAD2CB
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31B366

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

Preview Lab → · Contrast checker → · Palette generator →

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