#31B531#31B531

#31B531 is a light, highly saturated green. Relative luminance 0.339; OKLCH L 67.8% C 0.203 H 142.9°. Best body text is #000000 at 7.78:1 contrast (WCAG AA passes).

Color values

HEX#31B531
RGBrgb(49, 181, 49)
HSLhsl(120, 57%, 45%)
HSVhsv(120, 73%, 71%)
CMYKcmyk(72.9%, 0%, 72.9%, 29%)
CIE-LABlab(64.90, -59.76, 54.05)
CIE-LCHlch(64.90, 80.58, 137.87°)
OKLaboklab(67.78% -0.1622 0.1226)
OKLCHoklch(67.78% 0.203 142.9)
XYZxyz(18.3438, 33.9204, 8.4857)
Luminance0.3392 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B531 #B531B5
analogous
#73B531 #31B531 #31B573
triadic
#31B531 #3131B5 #B53131
tetradic
#31B531 #3173B5 #B531B5 #B57331
square
#31B531 #3173B5 #B531B5 #B57331
split-complementary
#31B531 #7331B5 #B53173
monochromatic
#175517 #248524 #31B531 #53D053 #83DD83

Accessibility & contrast

On white

2.70
#31B531 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.78
#31B531 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B531
7.78:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B531#FFFFFF#000000##000000
##31B5311.002.707.787.78
#FFFFFF2.701.0021.0021.00
#0000007.7821.001.001.00
##0000007.7821.001.001.00

Color blindness preview

Protanopia (red-blind)
#B9A419
Deuteranopia (green-blind)
#AA993F
Tritanopia (blue-blind)
#00B09B
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b531;
/* rgb */ color: rgb(49, 181, 49);
/* oklch */ color: oklch(67.8% 0.203 142.9);
Tailwind
colors: {
  custom: {
    50: '#7ecc71',
    500: '#31b531',
    950: '#000000',
  },
}
SCSS
$custom: #31b531;
$custom-light: #7ecc71;
$custom-dark: #000000;
JSON
{
  "hex": "#31b531",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 49
  },
  "hsl": {
    "h": 120,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.67777,
    "c": 0.20334,
    "h": 142.9
  },
  "luminance": 0.33922
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31B531

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

Preview Lab → · Contrast checker → · Palette generator →

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