#31B35B#31B35B

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

Color values

HEX#31B35B
RGBrgb(49, 179, 91)
HSLhsl(139, 57%, 45%)
HSVhsv(139, 73%, 70%)
CMYKcmyk(72.6%, 0%, 49.2%, 29.8%)
CIE-LABlab(64.68, -54.01, 34.96)
CIE-LCHlch(64.68, 64.34, 147.09°)
OKLaboklab(67.73% -0.1453 0.0851)
OKLCHoklch(67.73% 0.168 149.7)
XYZxyz(19.2735, 33.6463, 15.3741)
Luminance0.3365 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B35B #B33189
analogous
#48B331 #31B35B #31B39C
triadic
#31B35B #5B31B3 #B35B31
tetradic
#31B35B #3148B3 #B33189 #B39C31
square
#31B35B #3148B3 #B33189 #B39C31
split-complementary
#31B35B #9C31B3 #B33148
monochromatic
#17532A #248343 #31B35B #52D07A #82DD9F

Accessibility & contrast

On white

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

On black

7.73
#31B35B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B35B
7.73:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B35B#FFFFFF#000000##000000
##31B35B1.002.727.737.73
#FFFFFF2.721.0021.0021.00
#0000007.7321.001.001.00
##0000007.7321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A354
Deuteranopia (green-blind)
#A59961
Tritanopia (blue-blind)
#00B09E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b35b;
/* rgb */ color: rgb(49, 179, 91);
/* oklch */ color: oklch(67.7% 0.168 149.7);
Tailwind
colors: {
  custom: {
    50: '#7ccb8b',
    500: '#31b35b',
    950: '#000000',
  },
}
SCSS
$custom: #31b35b;
$custom-light: #7ccb8b;
$custom-dark: #000000;
JSON
{
  "hex": "#31b35b",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 91
  },
  "hsl": {
    "h": 139.385,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67734,
    "c": 0.16838,
    "h": 149.7
  },
  "luminance": 0.33648
}

Semantic roles & 50–950 ramp

primary
#31B35B
secondary
#C67AAD
accent
#48AFE0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B35B

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

Preview Lab → · Contrast checker → · Palette generator →

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