#31B35A#31B35A

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

Color values

HEX#31B35A
RGBrgb(49, 179, 90)
HSLhsl(139, 57%, 45%)
HSVhsv(139, 73%, 70%)
CMYKcmyk(72.6%, 0%, 49.7%, 29.8%)
CIE-LABlab(64.67, -54.17, 35.45)
CIE-LCHlch(64.67, 64.74, 146.80°)
OKLaboklab(67.72% -0.1457 0.0861)
OKLCHoklch(67.72% 0.169 149.4)
XYZxyz(19.2306, 33.6292, 15.1485)
Luminance0.3363 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B35A #B3318A
analogous
#49B331 #31B35A #31B39B
triadic
#31B35A #5A31B3 #B35A31
tetradic
#31B35A #3149B3 #B3318A #B39B31
square
#31B35A #3149B3 #B3318A #B39B31
split-complementary
#31B35A #9B31B3 #B33149
monochromatic
#17532A #248342 #31B35A #52D079 #82DD9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31B35A#FFFFFF#000000##000000
##31B35A1.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)
#B4A353
Deuteranopia (green-blind)
#A59960
Tritanopia (blue-blind)
#00B09E
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b35a;
/* rgb */ color: rgb(49, 179, 90);
/* oklch */ color: oklch(67.7% 0.169 149.4);
Tailwind
colors: {
  custom: {
    50: '#7ccb8a',
    500: '#31b35a',
    950: '#000000',
  },
}
SCSS
$custom: #31b35a;
$custom-light: #7ccb8a;
$custom-dark: #000000;
JSON
{
  "hex": "#31b35a",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 90
  },
  "hsl": {
    "h": 138.923,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67718,
    "c": 0.16929,
    "h": 149.4
  },
  "luminance": 0.33631
}

Semantic roles & 50–950 ramp

primary
#31B35A
secondary
#C67AAE
accent
#48B0E0
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31B35A

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

Preview Lab → · Contrast checker → · Palette generator →

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