#31B35D#31B35D

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

Color values

HEX#31B35D
RGBrgb(49, 179, 93)
HSLhsl(140, 57%, 45%)
HSVhsv(140, 73%, 70%)
CMYKcmyk(72.6%, 0%, 48%, 29.8%)
CIE-LABlab(64.71, -53.69, 33.98)
CIE-LCHlch(64.71, 63.54, 147.67°)
OKLaboklab(67.77% -0.1444 0.0829)
OKLCHoklch(67.77% 0.167 150.1)
XYZxyz(19.3609, 33.6813, 15.8346)
Luminance0.3368 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B35D #B33187
analogous
#46B331 #31B35D #31B39E
triadic
#31B35D #5D31B3 #B35D31
tetradic
#31B35D #3146B3 #B33187 #B39E31
square
#31B35D #3146B3 #B33187 #B39E31
split-complementary
#31B35D #9E31B3 #B33146
monochromatic
#17532B #248344 #31B35D #52D07C #82DDA1

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B35D#FFFFFF#000000##000000
##31B35D1.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)
#B4A456
Deuteranopia (green-blind)
#A59963
Tritanopia (blue-blind)
#00B09F
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b35d;
/* rgb */ color: rgb(49, 179, 93);
/* oklch */ color: oklch(67.8% 0.167 150.1);
Tailwind
colors: {
  custom: {
    50: '#7ccb8c',
    500: '#31b35d',
    950: '#000000',
  },
}
SCSS
$custom: #31b35d;
$custom-light: #7ccb8c;
$custom-dark: #000000;
JSON
{
  "hex": "#31b35d",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 93
  },
  "hsl": {
    "h": 140.308,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67766,
    "c": 0.16656,
    "h": 150.1
  },
  "luminance": 0.33683
}

Semantic roles & 50–950 ramp

primary
#31B35D
secondary
#C67AAC
accent
#48ADE0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B35D

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

Preview Lab → · Contrast checker → · Palette generator →

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