#31B418#31B418

#31B418 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#31B418
RGBrgb(49, 180, 24)
HSLhsl(110, 76%, 40%)
HSVhsv(110, 87%, 71%)
CMYKcmyk(72.8%, 0%, 86.7%, 29.4%)
CIE-LABlab(64.45, -60.97, 61.08)
CIE-LCHlch(64.45, 86.30, 134.95°)
OKLaboklab(67.36% -0.1666 0.1339)
OKLCHoklch(67.36% 0.214 141.2)
XYZxyz(17.7518, 33.3595, 6.3674)
Luminance0.3336 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B418 #9B18B4
analogous
#7FB418 #31B418 #18B44D
triadic
#31B418 #1831B4 #B41831
tetradic
#31B418 #187FB4 #9B18B4 #B44D18
square
#31B418 #187FB4 #9B18B4 #B44D18
split-complementary
#31B418 #4D18B4 #B4187F
monochromatic
#14480A #227E11 #31B418 #45E227 #73E95D

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B418#FFFFFF#000000##000000
##31B4181.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)
#AA982F
Tritanopia (blue-blind)
#06AE99
Achromatopsia (no color)
#9C9C9C

Design tokens & code

CSS
--color: #31b418;
/* rgb */ color: rgb(49, 180, 24);
/* oklch */ color: oklch(67.4% 0.214 141.2);
Tailwind
colors: {
  custom: {
    50: '#7fcc67',
    500: '#31b418',
    950: '#000000',
  },
}
SCSS
$custom: #31b418;
$custom-light: #7fcc67;
$custom-dark: #000000;
JSON
{
  "hex": "#31b418",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 24
  },
  "hsl": {
    "h": 110.385,
    "s": 76.471,
    "l": 40
  },
  "oklch": {
    "l": 0.67365,
    "c": 0.21373,
    "h": 141.2
  },
  "luminance": 0.33361
}

Semantic roles & 50–950 ramp

primary
#31B418
secondary
#BB5BCD
accent
#35F3D5
background
#F8FCF6
surface
#F0F9EB
border
#CBD2C6
text
#0C1307
muted
#7D827A

Preview Lab

Preview with #31B418

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

Preview Lab → · Contrast checker → · Palette generator →

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