#31C048#31C048

#31C048 is a light, highly saturated green. Relative luminance 0.388; OKLCH L 70.9% C 0.200 H 145.4°. Best body text is #000000 at 8.76:1 contrast (WCAG AA passes).

Color values

HEX#31C048
RGBrgb(49, 192, 72)
HSLhsl(130, 59%, 47%)
HSVhsv(130, 74%, 75%)
CMYKcmyk(74.5%, 0%, 62.5%, 24.7%)
CIE-LABlab(68.62, -61.11, 48.69)
CIE-LCHlch(68.62, 78.13, 141.45°)
OKLaboklab(70.92% -0.1649 0.1139)
OKLCHoklch(70.92% 0.2 145.4)
XYZxyz(21.2845, 38.8177, 12.5005)
Luminance0.3882 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C048 #C031A9
analogous
#62C031 #31C048 #31C08F
triadic
#31C048 #4831C0 #C04831
tetradic
#31C048 #3162C0 #C031A9 #C08F31
square
#31C048 #3162C0 #C031A9 #C08F31
split-complementary
#31C048 #8F31C0 #C03162
monochromatic
#185E23 #258F36 #31C048 #59D56D #8AE198

Accessibility & contrast

On white

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

On black

8.76
#31C048 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C048
8.76:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C048#FFFFFF#000000##000000
##31C0481.002.408.768.76
#FFFFFF2.401.0021.0021.00
#0000008.7621.001.001.00
##0000008.7621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31c048;
/* rgb */ color: rgb(49, 192, 72);
/* oklch */ color: oklch(70.9% 0.200 145.4);
Tailwind
colors: {
  custom: {
    50: '#7fd47f',
    500: '#31c048',
    950: '#000000',
  },
}
SCSS
$custom: #31c048;
$custom-light: #7fd47f;
$custom-dark: #000000;
JSON
{
  "hex": "#31c048",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 72
  },
  "hsl": {
    "h": 129.65,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.70924,
    "c": 0.20038,
    "h": 145.4
  },
  "luminance": 0.3882
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31C048

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

Preview Lab → · Contrast checker → · Palette generator →

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