#31C04B#31C04B

#31C04B is a light, vivid green. Relative luminance 0.389; OKLCH L 71.0% C 0.198 H 145.8°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#31C04B
RGBrgb(49, 192, 75)
HSLhsl(131, 59%, 47%)
HSVhsv(131, 74%, 75%)
CMYKcmyk(74.5%, 0%, 60.9%, 24.7%)
CIE-LABlab(68.65, -60.76, 47.39)
CIE-LCHlch(68.65, 77.05, 142.05°)
OKLaboklab(70.96% -0.1638 0.1114)
OKLCHoklch(70.96% 0.198 145.8)
XYZxyz(21.3847, 38.8578, 13.0285)
Luminance0.3886 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C04B #C031A6
analogous
#5FC031 #31C04B #31C093
triadic
#31C04B #4B31C0 #C04B31
tetradic
#31C04B #315FC0 #C031A6 #C09331
square
#31C04B #315FC0 #C031A6 #C09331
split-complementary
#31C04B #9331C0 #C0315F
monochromatic
#185E25 #258F38 #31C04B #59D570 #8AE19A

Accessibility & contrast

On white

2.39
#31C04B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.77
#31C04B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C04B
8.77:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C04B#FFFFFF#000000##000000
##31C04B1.002.398.778.77
#FFFFFF2.391.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

Protanopia (red-blind)
#C3AE3E
Deuteranopia (green-blind)
#B3A355
Tritanopia (blue-blind)
#00BBA7
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #31c04b;
/* rgb */ color: rgb(49, 192, 75);
/* oklch */ color: oklch(71.0% 0.198 145.8);
Tailwind
colors: {
  custom: {
    50: '#7fd481',
    500: '#31c04b',
    950: '#000000',
  },
}
SCSS
$custom: #31c04b;
$custom-light: #7fd481;
$custom-dark: #000000;
JSON
{
  "hex": "#31c04b",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 75
  },
  "hsl": {
    "h": 130.909,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70958,
    "c": 0.19809,
    "h": 145.8
  },
  "luminance": 0.3886
}

Semantic roles & 50–950 ramp

primary
#31C04B
secondary
#CB82BE
accent
#45C6E3
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140B
muted
#7D837C

Preview Lab

Preview with #31C04B

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

Preview Lab → · Contrast checker → · Palette generator →

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