#31B536#31B536

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

Color values

HEX#31B536
RGBrgb(49, 181, 54)
HSLhsl(122, 57%, 45%)
HSVhsv(122, 73%, 71%)
CMYKcmyk(72.9%, 0%, 70.2%, 29%)
CIE-LABlab(64.93, -59.32, 52.19)
CIE-LCHlch(64.93, 79.01, 138.66°)
OKLaboklab(67.82% -0.1608 0.1193)
OKLCHoklch(67.82% 0.2 143.4)
XYZxyz(18.4552, 33.9650, 9.0726)
Luminance0.3397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B536 #B531B0
analogous
#6EB531 #31B536 #31B578
triadic
#31B536 #3631B5 #B53631
tetradic
#31B536 #316EB5 #B531B0 #B57831
square
#31B536 #316EB5 #B531B0 #B57831
split-complementary
#31B536 #7831B5 #B5316E
monochromatic
#175519 #248528 #31B536 #53D058 #83DD86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B536#FFFFFF#000000##000000
##31B5361.002.697.797.79
#FFFFFF2.691.0021.0021.00
#0000007.7921.001.001.00
##0000007.7921.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b536;
/* rgb */ color: rgb(49, 181, 54);
/* oklch */ color: oklch(67.8% 0.200 143.4);
Tailwind
colors: {
  custom: {
    50: '#7ecc74',
    500: '#31b536',
    950: '#000000',
  },
}
SCSS
$custom: #31b536;
$custom-light: #7ecc74;
$custom-dark: #000000;
JSON
{
  "hex": "#31b536",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 54
  },
  "hsl": {
    "h": 122.273,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.67818,
    "c": 0.20024,
    "h": 143.4
  },
  "luminance": 0.33967
}

Semantic roles & 50–950 ramp

primary
#31B536
secondary
#C77BC4
accent
#47DBE1
background
#F8FCF7
surface
#EFF9ED
border
#CAD2C8
text
#0B1409
muted
#7C827B

Preview Lab

Preview with #31B536

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

Preview Lab → · Contrast checker → · Palette generator →

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