#31BB2F#31BB2F

#31BB2F is a light, highly saturated green. Relative luminance 0.364; OKLCH L 69.4% C 0.211 H 142.7°. Best body text is #000000 at 8.28:1 contrast (WCAG AA passes).

Color values

HEX#31BB2F
RGBrgb(49, 187, 47)
HSLhsl(119, 60%, 46%)
HSVhsv(119, 75%, 73%)
CMYKcmyk(73.8%, 0%, 74.9%, 26.7%)
CIE-LABlab(66.82, -61.85, 56.71)
CIE-LCHlch(66.82, 83.91, 137.48°)
OKLaboklab(69.37% -0.168 0.1279)
OKLCHoklch(69.37% 0.211 142.7)
XYZxyz(19.5488, 36.3966, 8.6838)
Luminance0.3640 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31BB2F #B92FBB
analogous
#77BB2F #31BB2F #2FBB73
triadic
#31BB2F #2F31BB #BB2F31
tetradic
#31BB2F #2F77BB #B92FBB #BB732F
square
#31BB2F #2F77BB #B92FBB #BB732F
split-complementary
#31BB2F #732FBB #BB2F77
monochromatic
#175916 #248A23 #31BB2F #55D453 #86E084

Accessibility & contrast

On white

2.54
#31BB2F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

8.28
#31BB2F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31BB2F
8.28:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31BB2F#FFFFFF#000000##000000
##31BB2F1.002.548.288.28
#FFFFFF2.541.0021.0021.00
#0000008.2821.001.001.00
##0000008.2821.001.001.00

Color blindness preview

Protanopia (red-blind)
#BFA912
Deuteranopia (green-blind)
#B09E3E
Tritanopia (blue-blind)
#00B5A0
Achromatopsia (no color)
#A3A3A3

Design tokens & code

CSS
--color: #31bb2f;
/* rgb */ color: rgb(49, 187, 47);
/* oklch */ color: oklch(69.4% 0.211 142.7);
Tailwind
colors: {
  custom: {
    50: '#7fd171',
    500: '#31bb2f',
    950: '#000000',
  },
}
SCSS
$custom: #31bb2f;
$custom-light: #7fd171;
$custom-dark: #000000;
JSON
{
  "hex": "#31bb2f",
  "rgb": {
    "r": 49,
    "g": 187,
    "b": 47
  },
  "hsl": {
    "h": 119.143,
    "s": 59.829,
    "l": 45.882
  },
  "oklch": {
    "l": 0.6937,
    "c": 0.21113,
    "h": 142.7
  },
  "luminance": 0.36399
}

Semantic roles & 50–950 ramp

primary
#31BB2F
secondary
#C87CC9
accent
#45E3E1
background
#F8FDF7
surface
#F0FAED
border
#CBD3C8
text
#0C1408
muted
#7D837B

Preview Lab

Preview with #31BB2F

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

Preview Lab → · Contrast checker → · Palette generator →

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