#31B544#31B544

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

Color values

HEX#31B544
RGBrgb(49, 181, 68)
HSLhsl(129, 57%, 45%)
HSVhsv(129, 73%, 71%)
CMYKcmyk(72.9%, 0%, 62.4%, 29%)
CIE-LABlab(65.05, -57.88, 46.43)
CIE-LCHlch(65.05, 74.20, 141.26°)
OKLaboklab(67.96% -0.1563 0.1087)
OKLCHoklch(67.96% 0.19 145.2)
XYZxyz(18.8326, 34.1159, 11.0602)
Luminance0.3412 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B544 #B531A2
analogous
#60B531 #31B544 #31B586
triadic
#31B544 #4431B5 #B54431
tetradic
#31B544 #3160B5 #B531A2 #B58631
square
#31B544 #3160B5 #B531A2 #B58631
split-complementary
#31B544 #8631B5 #B53160
monochromatic
#175520 #248532 #31B544 #53D065 #83DD90

Accessibility & contrast

On white

2.68
#31B544 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B544#FFFFFF#000000##000000
##31B5441.002.687.827.82
#FFFFFF2.681.0021.0021.00
#0000007.8221.001.001.00
##0000007.8221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31b544;
/* rgb */ color: rgb(49, 181, 68);
/* oklch */ color: oklch(68.0% 0.190 145.2);
Tailwind
colors: {
  custom: {
    50: '#7dcc7c',
    500: '#31b544',
    950: '#000000',
  },
}
SCSS
$custom: #31b544;
$custom-light: #7dcc7c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b544",
  "rgb": {
    "r": 49,
    "g": 181,
    "b": 68
  },
  "hsl": {
    "h": 128.636,
    "s": 57.391,
    "l": 45.098
  },
  "oklch": {
    "l": 0.67956,
    "c": 0.19034,
    "h": 145.2
  },
  "luminance": 0.34118
}

Semantic roles & 50–950 ramp

primary
#31B544
secondary
#C77BBC
accent
#47CBE1
background
#F8FCF7
surface
#EFF9EE
border
#CAD2C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31B544

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

Preview Lab → · Contrast checker → · Palette generator →

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