#31BA2F#31BA2F

#31BA2F is a light, highly saturated green. Relative luminance 0.360; OKLCH L 69.1% C 0.210 H 142.7°. Best body text is #000000 at 8.20:1 contrast (WCAG AA passes).

Color values

HEX#31BA2F
RGBrgb(49, 186, 47)
HSLhsl(119, 60%, 46%)
HSVhsv(119, 75%, 73%)
CMYKcmyk(73.7%, 0%, 74.7%, 27.1%)
CIE-LABlab(66.50, -61.53, 56.39)
CIE-LCHlch(66.50, 83.46, 137.50°)
OKLaboklab(69.1% -0.1671 0.1272)
OKLCHoklch(69.1% 0.21 142.7)
XYZxyz(19.3374, 35.9738, 8.6133)
Luminance0.3598 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BA2F #B82FBA
analogous
#76BA2F #31BA2F #2FBA73
triadic
#31BA2F #2F31BA #BA2F31
tetradic
#31BA2F #2F76BA #B82FBA #BA732F
square
#31BA2F #2F76BA #B82FBA #BA732F
split-complementary
#31BA2F #732FBA #BA2F76
monochromatic
#175816 #248923 #31BA2F #55D353 #85E084

Accessibility & contrast

On white

2.56
#31BA2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.20
#31BA2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BA2F
8.20:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BA2F#FFFFFF#000000##000000
##31BA2F1.002.568.208.20
#FFFFFF2.561.0021.0021.00
#0000008.2021.001.001.00
##0000008.2021.001.001.00

Color blindness preview

Protanopia (red-blind)
#BEA812
Deuteranopia (green-blind)
#AF9E3E
Tritanopia (blue-blind)
#00B49F
Achromatopsia (no color)
#A2A2A2

Design tokens & code

CSS
--color: #31ba2f;
/* rgb */ color: rgb(49, 186, 47);
/* oklch */ color: oklch(69.1% 0.210 142.7);
Tailwind
colors: {
  custom: {
    50: '#7fd071',
    500: '#31ba2f',
    950: '#000000',
  },
}
SCSS
$custom: #31ba2f;
$custom-light: #7fd071;
$custom-dark: #000000;
JSON
{
  "hex": "#31ba2f",
  "rgb": {
    "r": 49,
    "g": 186,
    "b": 47
  },
  "hsl": {
    "h": 119.137,
    "s": 59.657,
    "l": 45.686
  },
  "oklch": {
    "l": 0.69102,
    "c": 0.21003,
    "h": 142.7
  },
  "luminance": 0.35976
}

Semantic roles & 50–950 ramp

primary
#31BA2F
secondary
#C87CC9
accent
#45E3E1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0C1408
muted
#7D827B

Preview Lab

Preview with #31BA2F

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

Preview Lab → · Contrast checker → · Palette generator →

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