#31B35F#31B35F

#31B35F is a light, vivid green. Relative luminance 0.337; OKLCH L 67.8% C 0.165 H 150.6°. Best body text is #000000 at 7.74:1 contrast (WCAG AA passes).

Color values

HEX#31B35F
RGBrgb(49, 179, 95)
HSLhsl(141, 57%, 45%)
HSVhsv(141, 73%, 70%)
CMYKcmyk(72.6%, 0%, 46.9%, 29.8%)
CIE-LABlab(64.74, -53.36, 32.99)
CIE-LCHlch(64.74, 62.73, 148.27°)
OKLaboklab(67.8% -0.1436 0.0808)
OKLCHoklch(67.8% 0.165 150.6)
XYZxyz(19.4507, 33.7172, 16.3072)
Luminance0.3372 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B35F #B33185
analogous
#44B331 #31B35F #31B3A0
triadic
#31B35F #5F31B3 #B35F31
tetradic
#31B35F #3144B3 #B33185 #B3A031
square
#31B35F #3144B3 #B33185 #B3A031
split-complementary
#31B35F #A031B3 #B33144
monochromatic
#17532C #248346 #31B35F #52D07E #82DDA2

Accessibility & contrast

On white

2.71
#31B35F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.74
#31B35F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B35F
7.74:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B35F#FFFFFF#000000##000000
##31B35F1.002.717.747.74
#FFFFFF2.711.0021.0021.00
#0000007.7421.001.001.00
##0000007.7421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B4A458
Deuteranopia (green-blind)
#A49965
Tritanopia (blue-blind)
#00B09F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b35f;
/* rgb */ color: rgb(49, 179, 95);
/* oklch */ color: oklch(67.8% 0.165 150.6);
Tailwind
colors: {
  custom: {
    50: '#7bcb8e',
    500: '#31b35f',
    950: '#000000',
  },
}
SCSS
$custom: #31b35f;
$custom-light: #7bcb8e;
$custom-dark: #000000;
JSON
{
  "hex": "#31b35f",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 95
  },
  "hsl": {
    "h": 141.231,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67799,
    "c": 0.16473,
    "h": 150.6
  },
  "luminance": 0.33719
}

Semantic roles & 50–950 ramp

primary
#31B35F
secondary
#C67AAB
accent
#48AAE0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B35F

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

Preview Lab → · Contrast checker → · Palette generator →

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