#31B64F#31B64F

#31B64F is a light, vivid green. Relative luminance 0.347; OKLCH L 68.4% C 0.183 H 146.9°. Best body text is #000000 at 7.93:1 contrast (WCAG AA passes).

Color values

HEX#31B64F
RGBrgb(49, 182, 79)
HSLhsl(134, 58%, 45%)
HSVhsv(134, 73%, 71%)
CMYKcmyk(73.1%, 0%, 56.6%, 28.6%)
CIE-LABlab(65.49, -56.84, 41.86)
CIE-LCHlch(65.49, 70.59, 143.63°)
OKLaboklab(68.36% -0.1531 0.0997)
OKLCHoklch(68.36% 0.183 146.9)
XYZxyz(19.4044, 34.6712, 13.0652)
Luminance0.3467 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B64F #B63198
analogous
#55B631 #31B64F #31B692
triadic
#31B64F #4F31B6 #B64F31
tetradic
#31B64F #3155B6 #B63198 #B69231
square
#31B64F #3155B6 #B63198 #B69231
split-complementary
#31B64F #9231B6 #B63155
monochromatic
#175625 #24863A #31B64F #53D170 #84DE98

Accessibility & contrast

On white

2.65
#31B64F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.93
#31B64F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B64F
7.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B64F#FFFFFF#000000##000000
##31B64F1.002.657.937.93
#FFFFFF2.651.0021.0021.00
#0000007.9321.001.001.00
##0000007.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A645
Deuteranopia (green-blind)
#A99B57
Tritanopia (blue-blind)
#00B29F
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b64f;
/* rgb */ color: rgb(49, 182, 79);
/* oklch */ color: oklch(68.4% 0.183 146.9);
Tailwind
colors: {
  custom: {
    50: '#7dcd83',
    500: '#31b64f',
    950: '#000000',
  },
}
SCSS
$custom: #31b64f;
$custom-light: #7dcd83;
$custom-dark: #000000;
JSON
{
  "hex": "#31b64f",
  "rgb": {
    "r": 49,
    "g": 182,
    "b": 79
  },
  "hsl": {
    "h": 133.534,
    "s": 57.576,
    "l": 45.294
  },
  "oklch": {
    "l": 0.68356,
    "c": 0.1827,
    "h": 146.9
  },
  "luminance": 0.34673
}

Semantic roles & 50–950 ramp

primary
#31B64F
secondary
#C77CB6
accent
#47BEE1
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C

Preview Lab

Preview with #31B64F

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

Preview Lab → · Contrast checker → · Palette generator →

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