#31B541#31B541

#31B541 is a light, vivid green. Relative luminance 0.341; OKLCH L 67.9% C 0.193 H 144.8°. Best body text is #000000 at 7.82:1 contrast (WCAG AA passes).

Color values

HEX#31B541
RGBrgb(49, 181, 65)
HSLhsl(127, 57%, 45%)
HSVhsv(127, 73%, 71%)
CMYKcmyk(72.9%, 0%, 64.1%, 29%)
CIE-LABlab(65.03, -58.22, 47.72)
CIE-LCHlch(65.03, 75.28, 140.66°)
OKLaboklab(67.92% -0.1573 0.1111)
OKLCHoklch(67.92% 0.193 144.8)
XYZxyz(18.7434, 34.0803, 10.5903)
Luminance0.3408 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B541 #B531A5
analogous
#63B531 #31B541 #31B583
triadic
#31B541 #4131B5 #B54131
tetradic
#31B541 #3163B5 #B531A5 #B58331
square
#31B541 #3163B5 #B531A5 #B58331
split-complementary
#31B541 #8331B5 #B53163
monochromatic
#17551E #248530 #31B541 #53D062 #83DD8E

Accessibility & contrast

On white

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

On black

7.82
#31B541 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B541
7.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B541#FFFFFF#000000##000000
##31B5411.002.697.827.82
#FFFFFF2.691.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B8A433
Deuteranopia (green-blind)
#A99A4B
Tritanopia (blue-blind)
#00B09D
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b541;
/* rgb */ color: rgb(49, 181, 65);
/* oklch */ color: oklch(67.9% 0.193 144.8);
Tailwind
colors: {
  custom: {
    50: '#7dcc7a',
    500: '#31b541',
    950: '#000000',
  },
}
SCSS
$custom: #31b541;
$custom-light: #7dcc7a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b541",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 65
  },
  "hsl": {
    "h": 127.273,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.67923,
    "c": 0.19261,
    "h": 144.8
  },
  "luminance": 0.34082
}

Semantic roles & 50–950 ramp

primary
#31B541
secondary
#C77BBE
accent
#47CEE1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31B541

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

Preview Lab → · Contrast checker → · Palette generator →

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