#31B357#31B357

#31B357 is a light, vivid green. Relative luminance 0.336; OKLCH L 67.7% C 0.172 H 148.7°. Best body text is #000000 at 7.72:1 contrast (WCAG AA passes).

Color values

HEX#31B357
RGBrgb(49, 179, 87)
HSLhsl(138, 57%, 45%)
HSVhsv(138, 73%, 70%)
CMYKcmyk(72.6%, 0%, 51.4%, 29.8%)
CIE-LABlab(64.63, -54.64, 36.90)
CIE-LCHlch(64.63, 65.93, 145.96°)
OKLaboklab(67.67% -0.147 0.0892)
OKLCHoklch(67.67% 0.172 148.7)
XYZxyz(19.1055, 33.5791, 14.4895)
Luminance0.3358 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B357 #B3318D
analogous
#4CB331 #31B357 #31B398
triadic
#31B357 #5731B3 #B35731
tetradic
#31B357 #314CB3 #B3318D #B39831
square
#31B357 #314CB3 #B3318D #B39831
split-complementary
#31B357 #9831B3 #B3314C
monochromatic
#175328 #248340 #31B357 #52D076 #82DD9C

Accessibility & contrast

On white

2.72
#31B357 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.72
#31B357 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B357
7.72:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B357#FFFFFF#000000##000000
##31B3571.002.727.727.72
#FFFFFF2.721.0021.0021.00
#0000007.7221.001.001.00
##0000007.7221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A34F
Deuteranopia (green-blind)
#A5995E
Tritanopia (blue-blind)
#00AF9E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b357;
/* rgb */ color: rgb(49, 179, 87);
/* oklch */ color: oklch(67.7% 0.172 148.7);
Tailwind
colors: {
  custom: {
    50: '#7ccb88',
    500: '#31b357',
    950: '#000000',
  },
}
SCSS
$custom: #31b357;
$custom-light: #7ccb88;
$custom-dark: #000000;
JSON
{
  "hex": "#31b357",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 87
  },
  "hsl": {
    "h": 137.538,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67672,
    "c": 0.17198,
    "h": 148.7
  },
  "luminance": 0.33581
}

Semantic roles & 50–950 ramp

primary
#31B357
secondary
#C67AB0
accent
#48B4E0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B357

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

Preview Lab → · Contrast checker → · Palette generator →

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