#31C05C#31C05C

#31C05C is a light, vivid green. Relative luminance 0.391; OKLCH L 71.2% C 0.184 H 148.7°. Best body text is #000000 at 8.82:1 contrast (WCAG AA passes).

Color values

HEX#31C05C
RGBrgb(49, 192, 92)
HSLhsl(138, 59%, 47%)
HSVhsv(138, 74%, 75%)
CMYKcmyk(74.5%, 0%, 52.1%, 24.7%)
CIE-LABlab(68.84, -58.48, 39.62)
CIE-LCHlch(68.84, 70.64, 145.88°)
OKLaboklab(71.18% -0.1573 0.0956)
OKLCHoklch(71.18% 0.184 148.7)
XYZxyz(22.0463, 39.1224, 16.5126)
Luminance0.3912 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31C05C #C03195
analogous
#4EC031 #31C05C #31C0A4
triadic
#31C05C #5C31C0 #C05C31
tetradic
#31C05C #314EC0 #C03195 #C0A431
square
#31C05C #314EC0 #C03195 #C0A431
split-complementary
#31C05C #A431C0 #C0314E
monochromatic
#185E2D #258F45 #31C05C #59D57F #8AE1A4

Accessibility & contrast

On white

2.38
#31C05C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.82
#31C05C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31C05C
8.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31C05C#FFFFFF#000000##000000
##31C05C1.002.388.828.82
#FFFFFF2.381.0021.0021.00
#0000008.8221.001.001.00
##0000008.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#C2AF53
Deuteranopia (green-blind)
#B1A363
Tritanopia (blue-blind)
#00BCA9
Achromatopsia (no color)
#A8A8A8

Design tokens & code

CSS
--color: #31c05c;
/* rgb */ color: rgb(49, 192, 92);
/* oklch */ color: oklch(71.2% 0.184 148.7);
Tailwind
colors: {
  custom: {
    50: '#7ed48c',
    500: '#31c05c',
    950: '#000000',
  },
}
SCSS
$custom: #31c05c;
$custom-light: #7ed48c;
$custom-dark: #000000;
JSON
{
  "hex": "#31c05c",
  "rgb": {
    "r": 49,
    "g": 192,
    "b": 92
  },
  "hsl": {
    "h": 138.042,
    "s": 59.336,
    "l": 47.255
  },
  "oklch": {
    "l": 0.71179,
    "c": 0.18402,
    "h": 148.7
  },
  "luminance": 0.39125
}

Semantic roles & 50–950 ramp

primary
#31C05C
secondary
#CB82B5
accent
#45B3E3
background
#F8FDF8
surface
#F0FAF0
border
#CBD3CB
text
#0B140C
muted
#7C837D

Preview Lab

Preview with #31C05C

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

Preview Lab → · Contrast checker → · Palette generator →

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