#31B731#31B731

#31B731 is a light, highly saturated green. Relative luminance 0.347; OKLCH L 68.3% C 0.206 H 142.9°. Best body text is #000000 at 7.95:1 contrast (WCAG AA passes).

Color values

HEX#31B731
RGBrgb(49, 183, 49)
HSLhsl(120, 58%, 45%)
HSVhsv(120, 73%, 72%)
CMYKcmyk(73.2%, 0%, 73.2%, 28.2%)
CIE-LABlab(65.55, -60.41, 54.71)
CIE-LCHlch(65.55, 81.50, 137.83°)
OKLaboklab(68.31% -0.164 0.124)
OKLCHoklch(68.31% 0.206 142.9)
XYZxyz(18.7533, 34.7396, 8.6222)
Luminance0.3474 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B731 #B731B7
analogous
#74B731 #31B731 #31B774
triadic
#31B731 #3131B7 #B73131
tetradic
#31B731 #3174B7 #B731B7 #B77431
square
#31B731 #3174B7 #B731B7 #B77431
split-complementary
#31B731 #7431B7 #B73174
monochromatic
#175617 #248724 #31B731 #54D154 #84DE84

Accessibility & contrast

On white

2.64
#31B731 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.95
#31B731 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B731
7.95:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B731#FFFFFF#000000##000000
##31B7311.002.647.957.95
#FFFFFF2.641.0021.0021.00
#0000007.9521.001.001.00
##0000007.9521.001.001.00

Color blindness preview

Protanopia (red-blind)
#BBA618
Deuteranopia (green-blind)
#AC9B3F
Tritanopia (blue-blind)
#00B29D
Achromatopsia (no color)
#9F9F9F

Design tokens & code

CSS
--color: #31b731;
/* rgb */ color: rgb(49, 183, 49);
/* oklch */ color: oklch(68.3% 0.206 142.9);
Tailwind
colors: {
  custom: {
    50: '#7ece72',
    500: '#31b731',
    950: '#000000',
  },
}
SCSS
$custom: #31b731;
$custom-light: #7ece72;
$custom-dark: #000000;
JSON
{
  "hex": "#31b731",
  "rgb": {
    "r": 49,
    "g": 183,
    "b": 49
  },
  "hsl": {
    "h": 120,
    "s": 57.759,
    "l": 45.49
  },
  "oklch": {
    "l": 0.68314,
    "c": 0.20557,
    "h": 142.9
  },
  "luminance": 0.34742
}

Semantic roles & 50–950 ramp

primary
#31B731
secondary
#C87CC8
accent
#47E1E1
background
#F8FCF7
surface
#F0F9ED
border
#CBD2C8
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #31B731

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

Preview Lab → · Contrast checker → · Palette generator →

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