#31B047#31B047

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

Color values

HEX#31B047
RGBrgb(49, 176, 71)
HSLhsl(130, 56%, 44%)
HSVhsv(130, 72%, 69%)
CMYKcmyk(72.2%, 0%, 59.7%, 31%)
CIE-LABlab(63.47, -55.80, 43.25)
CIE-LCHlch(63.47, 70.60, 142.22°)
OKLaboklab(66.66% -0.1505 0.1021)
OKLCHoklch(66.66% 0.182 145.9)
XYZxyz(17.9280, 32.1566, 11.2220)
Luminance0.3216 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B047 #B0319A
analogous
#5BB031 #31B047 #31B087
triadic
#31B047 #4731B0 #B04731
tetradic
#31B047 #315BB0 #B0319A #B08731
square
#31B047 #315BB0 #B0319A #B08731
split-complementary
#31B047 #8731B0 #B0315B
monochromatic
#165020 #248034 #31B047 #50CE66 #80DC90

Accessibility & contrast

On white

2.83
#31B047 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#31B047 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B047
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B047#FFFFFF#000000##000000
##31B0471.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B3A03C
Deuteranopia (green-blind)
#A49650
Tritanopia (blue-blind)
#00AC99
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b047;
/* rgb */ color: rgb(49, 176, 71);
/* oklch */ color: oklch(66.7% 0.182 145.9);
Tailwind
colors: {
  custom: {
    50: '#7cc97e',
    500: '#31b047',
    950: '#000000',
  },
}
SCSS
$custom: #31b047;
$custom-light: #7cc97e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b047",
  "rgb": {
    "r": 49,
    "g": 176,
    "b": 71
  },
  "hsl": {
    "h": 130.394,
    "s": 56.444,
    "l": 44.118
  },
  "oklch": {
    "l": 0.66655,
    "c": 0.18189,
    "h": 145.9
  },
  "luminance": 0.32159
}

Semantic roles & 50–950 ramp

primary
#31B047
secondary
#C578B7
accent
#48C5E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B047

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

Preview Lab → · Contrast checker → · Palette generator →

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