#31B43A#31B43A

#31B43A is a light, vivid green. Relative luminance 0.336; OKLCH L 67.6% C 0.196 H 143.9°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#31B43A
RGBrgb(49, 180, 58)
HSLhsl(124, 57%, 45%)
HSVhsv(124, 73%, 71%)
CMYKcmyk(72.8%, 0%, 67.8%, 29.4%)
CIE-LABlab(64.64, -58.62, 50.27)
CIE-LCHlch(64.64, 77.22, 139.38°)
OKLaboklab(67.59% -0.1587 0.1158)
OKLCHoklch(67.59% 0.196 143.9)
XYZxyz(18.3504, 33.5989, 9.5203)
Luminance0.3360 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B43A #B431AB
analogous
#6AB431 #31B43A #31B47B
triadic
#31B43A #3A31B4 #B43A31
tetradic
#31B43A #316AB4 #B431AB #B47B31
square
#31B43A #316AB4 #B431AB #B47B31
split-complementary
#31B43A #7B31B4 #B4316A
monochromatic
#17541B #24842A #31B43A #52D05B #82DD89

Accessibility & contrast

On white

2.72
#31B43A on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#31B43A on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B43A
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B43A#FFFFFF#000000##000000
##31B43A1.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B7A329
Deuteranopia (green-blind)
#A99945
Tritanopia (blue-blind)
#00AF9B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b43a;
/* rgb */ color: rgb(49, 180, 58);
/* oklch */ color: oklch(67.6% 0.196 143.9);
Tailwind
colors: {
  custom: {
    50: '#7dcc76',
    500: '#31b43a',
    950: '#000000',
  },
}
SCSS
$custom: #31b43a;
$custom-light: #7dcc76;
$custom-dark: #000000;
JSON
{
  "hex": "#31b43a",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 58
  },
  "hsl": {
    "h": 124.122,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67586,
    "c": 0.19644,
    "h": 143.9
  },
  "luminance": 0.33601
}

Semantic roles & 50–950 ramp

primary
#31B43A
secondary
#C67BC1
accent
#47D6E0
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B43A

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

Preview Lab → · Contrast checker → · Palette generator →

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