#31B417#31B417

#31B417 is a light, highly saturated green. Relative luminance 0.334; OKLCH L 67.4% C 0.214 H 141.2°. Best body text is #000000 at 7.67:1 contrast (WCAG AA passes).

Color values

HEX#31B417
RGBrgb(49, 180, 23)
HSLhsl(110, 77%, 40%)
HSVhsv(110, 87%, 71%)
CMYKcmyk(72.8%, 0%, 87.2%, 29.4%)
CIE-LABlab(64.45, -61.01, 61.29)
CIE-LCHlch(64.45, 86.48, 134.87°)
OKLaboklab(67.36% -0.1667 0.1343)
OKLCHoklch(67.36% 0.214 141.2)
XYZxyz(17.7416, 33.3554, 6.3137)
Luminance0.3336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B417 #9A17B4
analogous
#7FB417 #31B417 #17B44C
triadic
#31B417 #1731B4 #B41731
tetradic
#31B417 #177FB4 #9A17B4 #B44C17
square
#31B417 #177FB4 #9A17B4 #B44C17
split-complementary
#31B417 #4C17B4 #B4177F
monochromatic
#134709 #227E10 #31B417 #45E325 #73EA5B

Accessibility & contrast

On white

2.74
#31B417 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.67
#31B417 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B417
7.67:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B417#FFFFFF#000000##000000
##31B4171.002.747.677.67
#FFFFFF2.741.0021.0021.00
#0000007.6721.001.001.00
##0000007.6721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A200
Deuteranopia (green-blind)
#AA982E
Tritanopia (blue-blind)
#07AE99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b417;
/* rgb */ color: rgb(49, 180, 23);
/* oklch */ color: oklch(67.4% 0.214 141.2);
Tailwind
colors: {
  custom: {
    50: '#7fcc66',
    500: '#31b417',
    950: '#000000',
  },
}
SCSS
$custom: #31b417;
$custom-light: #7fcc66;
$custom-dark: #000000;
JSON
{
  "hex": "#31b417",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 23
  },
  "hsl": {
    "h": 110.064,
    "s": 77.34,
    "l": 39.804
  },
  "oklch": {
    "l": 0.67362,
    "c": 0.21406,
    "h": 141.2
  },
  "luminance": 0.33357
}

Semantic roles & 50–950 ramp

primary
#31B417
secondary
#BA59CE
accent
#34F4D4
background
#F8FCF6
surface
#F0F9EB
border
#CBD2C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #31B417

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

Preview Lab → · Contrast checker → · Palette generator →

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