#31B535#31B535

#31B535 is a light, highly saturated green. Relative luminance 0.340; OKLCH L 67.8% C 0.201 H 143.3°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#31B535
RGBrgb(49, 181, 53)
HSLhsl(122, 57%, 45%)
HSVhsv(122, 73%, 71%)
CMYKcmyk(72.9%, 0%, 70.7%, 29%)
CIE-LABlab(64.93, -59.41, 52.57)
CIE-LCHlch(64.93, 79.33, 138.50°)
OKLaboklab(67.81% -0.1611 0.12)
OKLCHoklch(67.81% 0.201 143.3)
XYZxyz(18.4319, 33.9557, 8.9502)
Luminance0.3396 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B535 #B531B1
analogous
#6FB531 #31B535 #31B577
triadic
#31B535 #3531B5 #B53531
tetradic
#31B535 #316FB5 #B531B1 #B57731
square
#31B535 #316FB5 #B531B1 #B57731
split-complementary
#31B535 #7731B5 #B5316F
monochromatic
#175519 #248527 #31B535 #53D057 #83DD86

Accessibility & contrast

On white

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

On black

7.79
#31B535 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B535
7.79:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B535#FFFFFF#000000##000000
##31B5351.002.707.797.79
#FFFFFF2.701.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b535;
/* rgb */ color: rgb(49, 181, 53);
/* oklch */ color: oklch(67.8% 0.201 143.3);
Tailwind
colors: {
  custom: {
    50: '#7ecc73',
    500: '#31b535',
    950: '#000000',
  },
}
SCSS
$custom: #31b535;
$custom-light: #7ecc73;
$custom-dark: #000000;
JSON
{
  "hex": "#31b535",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 53
  },
  "hsl": {
    "h": 121.818,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.6781,
    "c": 0.20088,
    "h": 143.3
  },
  "luminance": 0.33958
}

Semantic roles & 50–950 ramp

primary
#31B535
secondary
#C77BC4
accent
#47DCE1
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1408
muted
#7C827B

Preview Lab

Preview with #31B535

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

Preview Lab → · Contrast checker → · Palette generator →

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