#31B53B#31B53B

#31B53B is a light, vivid green. Relative luminance 0.340; OKLCH L 67.9% C 0.197 H 144.0°. Best body text is #000000 at 7.80:1 contrast (WCAG AA passes).

Color values

HEX#31B53B
RGBrgb(49, 181, 59)
HSLhsl(125, 57%, 45%)
HSVhsv(125, 73%, 71%)
CMYKcmyk(72.9%, 0%, 67.4%, 29%)
CIE-LABlab(64.97, -58.85, 50.22)
CIE-LCHlch(64.97, 77.36, 139.53°)
OKLaboklab(67.86% -0.1593 0.1158)
OKLCHoklch(67.86% 0.197 144)
XYZxyz(18.5787, 34.0144, 9.7231)
Luminance0.3402 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B53B #B531AB
analogous
#69B531 #31B53B #31B57D
triadic
#31B53B #3B31B5 #B53B31
tetradic
#31B53B #3169B5 #B531AB #B57D31
square
#31B53B #3169B5 #B531AB #B57D31
split-complementary
#31B53B #7D31B5 #B53169
monochromatic
#17551C #24852B #31B53B #53D05C #83DD8A

Accessibility & contrast

On white

2.69
#31B53B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.80
#31B53B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B53B
7.80:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B53B#FFFFFF#000000##000000
##31B53B1.002.697.807.80
#FFFFFF2.691.0021.0021.00
#0000007.8021.001.001.00
##0000007.8021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A42B
Deuteranopia (green-blind)
#A99A46
Tritanopia (blue-blind)
#00B09C
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b53b;
/* rgb */ color: rgb(49, 181, 59);
/* oklch */ color: oklch(67.9% 0.197 144.0);
Tailwind
colors: {
  custom: {
    50: '#7dcc77',
    500: '#31b53b',
    950: '#000000',
  },
}
SCSS
$custom: #31b53b;
$custom-light: #7dcc77;
$custom-dark: #000000;
JSON
{
  "hex": "#31b53b",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 59
  },
  "hsl": {
    "h": 124.545,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.67863,
    "c": 0.19691,
    "h": 144
  },
  "luminance": 0.34016
}

Semantic roles & 50–950 ramp

primary
#31B53B
secondary
#C77BC1
accent
#47D5E1
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B53B

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

Preview Lab → · Contrast checker → · Palette generator →

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