#31B127#31B127

#31B127 is a light, highly saturated green. Relative luminance 0.322; OKLCH L 66.6% C 0.204 H 142.1°. Best body text is #000000 at 7.45:1 contrast (WCAG AA passes).

Color values

HEX#31B127
RGBrgb(49, 177, 39)
HSLhsl(116, 64%, 42%)
HSVhsv(116, 78%, 69%)
CMYKcmyk(72.3%, 0%, 78%, 30.6%)
CIE-LABlab(63.54, -59.20, 56.16)
CIE-LCHlch(63.54, 81.60, 136.51°)
OKLaboklab(66.63% -0.1612 0.1257)
OKLCHoklch(66.63% 0.204 142.1)
XYZxyz(17.3540, 32.2418, 7.2278)
Luminance0.3224 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B127 #A727B1
analogous
#76B127 #31B127 #27B162
triadic
#31B127 #2731B1 #B12731
tetradic
#31B127 #2776B1 #A727B1 #B16227
square
#31B127 #2776B1 #A727B1 #B16227
split-complementary
#31B127 #6227B1 #B12776
monochromatic
#154D11 #237F1C #31B127 #4BD540 #7AE072

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B127#FFFFFF#000000##000000
##31B1271.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)
#B5A000
Deuteranopia (green-blind)
#A79637
Tritanopia (blue-blind)
#04AB97
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31b127;
/* rgb */ color: rgb(49, 177, 39);
/* oklch */ color: oklch(66.6% 0.204 142.1);
Tailwind
colors: {
  custom: {
    50: '#7dc96c',
    500: '#31b127',
    950: '#000000',
  },
}
SCSS
$custom: #31b127;
$custom-light: #7dc96c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b127",
  "rgb": {
    "r": 49,
    "g": 177,
    "b": 39
  },
  "hsl": {
    "h": 115.652,
    "s": 63.889,
    "l": 42.353
  },
  "oklch": {
    "l": 0.66631,
    "c": 0.20438,
    "h": 142.1
  },
  "luminance": 0.32244
}

Semantic roles & 50–950 ramp

primary
#31B127
secondary
#C16DC7
accent
#41E7DB
background
#F8FCF6
surface
#EFF8EC
border
#CAD1C7
text
#0B1307
muted
#7C827A

Preview Lab

Preview with #31B127

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

Preview Lab → · Contrast checker → · Palette generator →

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