#31B53D#31B53D

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

Color values

HEX#31B53D
RGBrgb(49, 181, 61)
HSLhsl(125, 57%, 45%)
HSVhsv(125, 73%, 71%)
CMYKcmyk(72.9%, 0%, 66.3%, 29%)
CIE-LABlab(64.99, -58.65, 49.40)
CIE-LCHlch(64.99, 76.68, 139.89°)
OKLaboklab(67.88% -0.1587 0.1143)
OKLCHoklch(67.88% 0.196 144.2)
XYZxyz(18.6316, 34.0355, 10.0016)
Luminance0.3404 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B53D #B531A9
analogous
#67B531 #31B53D #31B57F
triadic
#31B53D #3D31B5 #B53D31
tetradic
#31B53D #3167B5 #B531A9 #B57F31
square
#31B53D #3167B5 #B531A9 #B57F31
split-complementary
#31B53D #7F31B5 #B53167
monochromatic
#17551D #24852D #31B53D #53D05E #83DD8B

Accessibility & contrast

On white

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

On black

7.81
#31B53D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B53D
7.81:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B53D#FFFFFF#000000##000000
##31B53D1.002.697.817.81
#FFFFFF2.691.0021.0021.00
#0000007.8121.001.001.00
##0000007.8121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b53d;
/* rgb */ color: rgb(49, 181, 61);
/* oklch */ color: oklch(67.9% 0.196 144.2);
Tailwind
colors: {
  custom: {
    50: '#7dcc78',
    500: '#31b53d',
    950: '#000000',
  },
}
SCSS
$custom: #31b53d;
$custom-light: #7dcc78;
$custom-dark: #000000;
JSON
{
  "hex": "#31b53d",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 61
  },
  "hsl": {
    "h": 125.455,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.67883,
    "c": 0.19551,
    "h": 144.2
  },
  "luminance": 0.34038
}

Semantic roles & 50–950 ramp

primary
#31B53D
secondary
#C77BC0
accent
#47D3E1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #31B53D

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

Preview Lab → · Contrast checker → · Palette generator →

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