#31C032#31C032

#31C032 is a light, highly saturated green. Relative luminance 0.386; OKLCH L 70.7% C 0.215 H 143.0°. Best body text is #000000 at 8.72:1 contrast (WCAG AA passes).

Color values

HEX#31C032
RGBrgb(49, 192, 50)
HSLhsl(120, 59%, 47%)
HSVhsv(120, 74%, 75%)
CMYKcmyk(74.5%, 0%, 74%, 24.7%)
CIE-LABlab(68.45, -63.21, 57.29)
CIE-LCHlch(68.45, 85.31, 137.81°)
OKLaboklab(70.73% -0.1715 0.1295)
OKLCHoklch(70.73% 0.215 143)
XYZxyz(20.6907, 38.5802, 9.3733)
Luminance0.3858 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C032 #C031BF
analogous
#77C031 #31C032 #31C07A
triadic
#31C032 #3231C0 #C03231
tetradic
#31C032 #3177C0 #C031BF #C07A31
square
#31C032 #3177C0 #C031BF #C07A31
split-complementary
#31C032 #7A31C0 #C03177
monochromatic
#185E19 #258F25 #31C032 #59D55A #8AE18B

Accessibility & contrast

On white

2.41
#31C032 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.72
#31C032 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C032
8.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C032#FFFFFF#000000##000000
##31C0321.002.418.728.72
#FFFFFF2.411.0021.0021.00
#0000008.7221.001.001.00
##0000008.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C4AE16
Deuteranopia (green-blind)
#B4A341
Tritanopia (blue-blind)
#00BAA5
Achromatopsia (no color)
#A7A7A7

Design tokens & code

CSS
--color: #31c032;
/* rgb */ color: rgb(49, 192, 50);
/* oklch */ color: oklch(70.7% 0.215 143.0);
Tailwind
colors: {
  custom: {
    50: '#80d473',
    500: '#31c032',
    950: '#000000',
  },
}
SCSS
$custom: #31c032;
$custom-light: #80d473;
$custom-dark: #000000;
JSON
{
  "hex": "#31c032",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 50
  },
  "hsl": {
    "h": 120.42,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70725,
    "c": 0.21492,
    "h": 143
  },
  "luminance": 0.38583
}

Semantic roles & 50–950 ramp

primary
#31C032
secondary
#CB82CB
accent
#45E1E3
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1409
muted
#7D837B

Preview Lab

Preview with #31C032

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

Preview Lab → · Contrast checker → · Palette generator →

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