#31B456#31B456

#31B456 is a light, vivid green. Relative luminance 0.340; OKLCH L 67.9% C 0.174 H 148.4°. Best body text is #000000 at 7.79:1 contrast (WCAG AA passes).

Color values

HEX#31B456
RGBrgb(49, 180, 86)
HSLhsl(137, 57%, 45%)
HSVhsv(137, 73%, 71%)
CMYKcmyk(72.8%, 0%, 52.2%, 29.4%)
CIE-LABlab(64.93, -55.15, 37.78)
CIE-LCHlch(64.93, 66.85, 145.58°)
OKLaboklab(67.92% -0.1484 0.0911)
OKLCHoklch(67.92% 0.174 148.4)
XYZxyz(19.2661, 33.9652, 14.3429)
Luminance0.3397 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B456 #B4318F
analogous
#4DB431 #31B456 #31B498
triadic
#31B456 #5631B4 #B45631
tetradic
#31B456 #314DB4 #B4318F #B49831
square
#31B456 #314DB4 #B4318F #B49831
split-complementary
#31B456 #9831B4 #B4314D
monochromatic
#175428 #24843F #31B456 #52D076 #82DD9C

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B456#FFFFFF#000000##000000
##31B4561.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)
#B6A44E
Deuteranopia (green-blind)
#A6995D
Tritanopia (blue-blind)
#00B09E
Achromatopsia (no color)
#9E9E9E

Design tokens & code

CSS
--color: #31b456;
/* rgb */ color: rgb(49, 180, 86);
/* oklch */ color: oklch(67.9% 0.174 148.4);
Tailwind
colors: {
  custom: {
    50: '#7ccc88',
    500: '#31b456',
    950: '#000000',
  },
}
SCSS
$custom: #31b456;
$custom-light: #7ccc88;
$custom-dark: #000000;
JSON
{
  "hex": "#31b456",
  "rgb": {
    "r": 49,
    "g": 180,
    "b": 86
  },
  "hsl": {
    "h": 136.947,
    "s": 57.205,
    "l": 44.902
  },
  "oklch": {
    "l": 0.67922,
    "c": 0.17415,
    "h": 148.4
  },
  "luminance": 0.33967
}

Semantic roles & 50–950 ramp

primary
#31B456
secondary
#C67BB1
accent
#47B5E0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B456

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

Preview Lab → · Contrast checker → · Palette generator →

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