#31B247#31B247

#31B247 is a light, vivid green. Relative luminance 0.329; OKLCH L 67.2% C 0.184 H 145.8°. Best body text is #000000 at 7.59:1 contrast (WCAG AA passes).

Color values

HEX#31B247
RGBrgb(49, 178, 71)
HSLhsl(130, 57%, 45%)
HSVhsv(130, 72%, 70%)
CMYKcmyk(72.5%, 0%, 60.1%, 30.2%)
CIE-LABlab(64.12, -56.49, 44.00)
CIE-LCHlch(64.12, 71.61, 142.09°)
OKLaboklab(67.19% -0.1524 0.1037)
OKLCHoklch(67.19% 0.184 145.8)
XYZxyz(18.3231, 32.9466, 11.3537)
Luminance0.3295 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B247 #B2319C
analogous
#5BB231 #31B247 #31B288
triadic
#31B247 #4731B2 #B24731
tetradic
#31B247 #315BB2 #B2319C #B28831
square
#31B247 #315BB2 #B2319C #B28831
split-complementary
#31B247 #8831B2 #B2315B
monochromatic
#175221 #248234 #31B247 #51CF67 #81DC91

Accessibility & contrast

On white

2.77
#31B247 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.59
#31B247 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B247
7.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B247#FFFFFF#000000##000000
##31B2471.002.777.597.59
#FFFFFF2.771.0021.0021.00
#0000007.5921.001.001.00
##0000007.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A23C
Deuteranopia (green-blind)
#A69750
Tritanopia (blue-blind)
#00AE9B
Achromatopsia (no color)
#9B9B9B

Design tokens & code

CSS
--color: #31b247;
/* rgb */ color: rgb(49, 178, 71);
/* oklch */ color: oklch(67.2% 0.184 145.8);
Tailwind
colors: {
  custom: {
    50: '#7cca7e',
    500: '#31b247',
    950: '#000000',
  },
}
SCSS
$custom: #31b247;
$custom-light: #7cca7e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b247",
  "rgb": {
    "r": 49,
    "g": 178,
    "b": 71
  },
  "hsl": {
    "h": 130.233,
    "s": 56.828,
    "l": 44.51
  },
  "oklch": {
    "l": 0.67189,
    "c": 0.18436,
    "h": 145.8
  },
  "luminance": 0.32949
}

Semantic roles & 50–950 ramp

primary
#31B247
secondary
#C579B8
accent
#48C6E0
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B247

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

Preview Lab → · Contrast checker → · Palette generator →

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