#31B04C#31B04C

#31B04C is a light, vivid green. Relative luminance 0.322; OKLCH L 66.7% C 0.178 H 146.7°. Best body text is #000000 at 7.44:1 contrast (WCAG AA passes).

Color values

HEX#31B04C
RGBrgb(49, 176, 76)
HSLhsl(133, 56%, 44%)
HSVhsv(133, 72%, 69%)
CMYKcmyk(72.2%, 0%, 56.8%, 31%)
CIE-LABlab(63.53, -55.15, 40.95)
CIE-LCHlch(63.53, 68.70, 143.40°)
OKLaboklab(66.72% -0.1486 0.0975)
OKLCHoklch(66.72% 0.178 146.7)
XYZxyz(18.0951, 32.2234, 12.1022)
Luminance0.3222 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B04C #B03195
analogous
#56B031 #31B04C #31B08C
triadic
#31B04C #4C31B0 #B04C31
tetradic
#31B04C #3156B0 #B03195 #B08C31
square
#31B04C #3156B0 #B03195 #B08C31
split-complementary
#31B04C #8C31B0 #B03156
monochromatic
#165023 #248037 #31B04C #50CE6B #80DC93

Accessibility & contrast

On white

2.82
#31B04C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.44
#31B04C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B04C
7.44:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B04C#FFFFFF#000000##000000
##31B04C1.002.827.447.44
#FFFFFF2.821.0021.0021.00
#0000007.4421.001.001.00
##0000007.4421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B2A042
Deuteranopia (green-blind)
#A39654
Tritanopia (blue-blind)
#00AC9A
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b04c;
/* rgb */ color: rgb(49, 176, 76);
/* oklch */ color: oklch(66.7% 0.178 146.7);
Tailwind
colors: {
  custom: {
    50: '#7bc981',
    500: '#31b04c',
    950: '#000000',
  },
}
SCSS
$custom: #31b04c;
$custom-light: #7bc981;
$custom-dark: #000000;
JSON
{
  "hex": "#31b04c",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 76
  },
  "hsl": {
    "h": 132.756,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66718,
    "c": 0.17776,
    "h": 146.7
  },
  "luminance": 0.32225
}

Semantic roles & 50–950 ramp

primary
#31B04C
secondary
#C578B4
accent
#48BFE0
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B04C

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

Preview Lab → · Contrast checker → · Palette generator →

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