#31B04D#31B04D

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

Color values

HEX#31B04D
RGBrgb(49, 176, 77)
HSLhsl(133, 56%, 44%)
HSVhsv(133, 72%, 69%)
CMYKcmyk(72.2%, 0%, 56.2%, 31%)
CIE-LABlab(63.54, -55.02, 40.49)
CIE-LCHlch(63.54, 68.31, 143.65°)
OKLaboklab(66.73% -0.1482 0.0966)
OKLCHoklch(66.73% 0.177 146.9)
XYZxyz(18.1302, 32.2374, 12.2867)
Luminance0.3224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B04D #B03194
analogous
#55B031 #31B04D #31B08D
triadic
#31B04D #4D31B0 #B04D31
tetradic
#31B04D #3155B0 #B03194 #B08D31
square
#31B04D #3155B0 #B03194 #B08D31
split-complementary
#31B04D #8D31B0 #B03155
monochromatic
#165023 #248038 #31B04D #50CE6C #80DC94

Accessibility & contrast

On white

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

On black

7.45
#31B04D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B04D
7.45:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B04D#FFFFFF#000000##000000
##31B04D1.002.827.457.45
#FFFFFF2.821.0021.0021.00
#0000007.4521.001.001.00
##0000007.4521.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b04d;
/* rgb */ color: rgb(49, 176, 77);
/* oklch */ color: oklch(66.7% 0.177 146.9);
Tailwind
colors: {
  custom: {
    50: '#7bc981',
    500: '#31b04d',
    950: '#000000',
  },
}
SCSS
$custom: #31b04d;
$custom-light: #7bc981;
$custom-dark: #000000;
JSON
{
  "hex": "#31b04d",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 77
  },
  "hsl": {
    "h": 133.228,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66731,
    "c": 0.1769,
    "h": 146.9
  },
  "luminance": 0.32239
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B04D

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

Preview Lab → · Contrast checker → · Palette generator →

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