#31C049#31C049

#31C049 is a light, vivid green. Relative luminance 0.388; OKLCH L 70.9% C 0.200 H 145.5°. Best body text is #000000 at 8.77:1 contrast (WCAG AA passes).

Color values

HEX#31C049
RGBrgb(49, 192, 73)
HSLhsl(130, 59%, 47%)
HSVhsv(130, 74%, 75%)
CMYKcmyk(74.5%, 0%, 62%, 24.7%)
CIE-LABlab(68.63, -60.99, 48.26)
CIE-LCHlch(68.63, 77.78, 141.65°)
OKLaboklab(70.94% -0.1645 0.113)
OKLCHoklch(70.94% 0.2 145.5)
XYZxyz(21.3174, 38.8308, 12.6737)
Luminance0.3883 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C049 #C031A8
analogous
#61C031 #31C049 #31C091
triadic
#31C049 #4931C0 #C04931
tetradic
#31C049 #3161C0 #C031A8 #C09131
square
#31C049 #3161C0 #C031A8 #C09131
split-complementary
#31C049 #9131C0 #C03161
monochromatic
#185E24 #258F36 #31C049 #59D56E #8AE199

Accessibility & contrast

On white

2.40
#31C049 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31C049#FFFFFF#000000##000000
##31C0491.002.408.778.77
#FFFFFF2.401.0021.0021.00
#0000008.7721.001.001.00
##0000008.7721.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31c049;
/* rgb */ color: rgb(49, 192, 73);
/* oklch */ color: oklch(70.9% 0.200 145.5);
Tailwind
colors: {
  custom: {
    50: '#7fd480',
    500: '#31c049',
    950: '#000000',
  },
}
SCSS
$custom: #31c049;
$custom-light: #7fd480;
$custom-dark: #000000;
JSON
{
  "hex": "#31c049",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 73
  },
  "hsl": {
    "h": 130.07,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70935,
    "c": 0.19962,
    "h": 145.5
  },
  "luminance": 0.38833
}

Semantic roles & 50–950 ramp

primary
#31C049
secondary
#CB82BF
accent
#45C8E3
background
#F8FDF8
surface
#F0FAEF
border
#CBD3CA
text
#0C140A
muted
#7D837C

Preview Lab

Preview with #31C049

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

Preview Lab → · Contrast checker → · Palette generator →

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