#31B76F#31B76F

#31B76F is a light, vivid green. Relative luminance 0.357; OKLCH L 69.1% C 0.155 H 154.7°. Best body text is #000000 at 8.13:1 contrast (WCAG AA passes).

Color values

HEX#31B76F
RGBrgb(49, 183, 111)
HSLhsl(148, 58%, 45%)
HSVhsv(148, 73%, 72%)
CMYKcmyk(73.2%, 0%, 39.3%, 28.2%)
CIE-LABlab(66.26, -51.99, 26.63)
CIE-LCHlch(66.26, 58.41, 152.88°)
OKLaboklab(69.14% -0.1403 0.0664)
OKLCHoklch(69.14% 0.155 154.7)
XYZxyz(21.0674, 35.6652, 20.8096)
Luminance0.3567 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B76F #B73179
analogous
#36B731 #31B76F #31B7B2
triadic
#31B76F #6F31B7 #B76F31
tetradic
#31B76F #3136B7 #B73179 #B7B231
square
#31B76F #3136B7 #B73179 #B7B231
split-complementary
#31B76F #B231B7 #B73136
monochromatic
#175634 #248752 #31B76F #54D18E #84DEAE

Accessibility & contrast

On white

2.58
#31B76F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.13
#31B76F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B76F
8.13:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B76F#FFFFFF#000000##000000
##31B76F1.002.588.138.13
#FFFFFF2.581.0021.0021.00
#0000008.1321.001.001.00
##0000008.1321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B6A86A
Deuteranopia (green-blind)
#A69C74
Tritanopia (blue-blind)
#00B5A5
Achromatopsia (no color)
#A1A1A1

Design tokens & code

CSS
--color: #31b76f;
/* rgb */ color: rgb(49, 183, 111);
/* oklch */ color: oklch(69.1% 0.155 154.7);
Tailwind
colors: {
  custom: {
    50: '#7cce99',
    500: '#31b76f',
    950: '#000000',
  },
}
SCSS
$custom: #31b76f;
$custom-light: #7cce99;
$custom-dark: #000000;
JSON
{
  "hex": "#31b76f",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 111
  },
  "hsl": {
    "h": 147.761,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.69141,
    "c": 0.1552,
    "h": 154.7
  },
  "luminance": 0.35668
}

Semantic roles & 50–950 ramp

primary
#31B76F
secondary
#C87CA5
accent
#479AE1
background
#F8FCF9
surface
#EFF9F2
border
#CAD2CC
text
#0B140E
muted
#7C827E

Preview Lab

Preview with #31B76F

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

Preview Lab → · Contrast checker → · Palette generator →

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