#31B352#31B352

#31B352 is a light, vivid green. Relative luminance 0.335; OKLCH L 67.6% C 0.176 H 147.7°. Best body text is #000000 at 7.70:1 contrast (WCAG AA passes).

Color values

HEX#31B352
RGBrgb(49, 179, 82)
HSLhsl(135, 57%, 45%)
HSVhsv(135, 73%, 70%)
CMYKcmyk(72.6%, 0%, 54.2%, 29.8%)
CIE-LABlab(64.56, -55.38, 39.30)
CIE-LCHlch(64.56, 67.90, 144.64°)
OKLaboklab(67.6% -0.1491 0.0943)
OKLCHoklch(67.6% 0.176 147.7)
XYZxyz(18.9083, 33.5002, 13.4507)
Luminance0.3350 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31B352 #B33192
analogous
#51B331 #31B352 #31B393
triadic
#31B352 #5231B3 #B35231
tetradic
#31B352 #3151B3 #B33192 #B39331
square
#31B352 #3151B3 #B33192 #B39331
split-complementary
#31B352 #9331B3 #B33151
monochromatic
#175326 #24833C #31B352 #52D072 #82DD99

Accessibility & contrast

On white

2.73
#31B352 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.70
#31B352 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31B352
7.70:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31B352#FFFFFF#000000##000000
##31B3521.002.737.707.70
#FFFFFF2.731.0021.0021.00
#0000007.7021.001.001.00
##0000007.7021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B5A349
Deuteranopia (green-blind)
#A69859
Tritanopia (blue-blind)
#00AF9D
Achromatopsia (no color)
#9D9D9D

Design tokens & code

CSS
--color: #31b352;
/* rgb */ color: rgb(49, 179, 82);
/* oklch */ color: oklch(67.6% 0.176 147.7);
Tailwind
colors: {
  custom: {
    50: '#7ccb85',
    500: '#31b352',
    950: '#000000',
  },
}
SCSS
$custom: #31b352;
$custom-light: #7ccb85;
$custom-dark: #000000;
JSON
{
  "hex": "#31b352",
  "rgb": {
    "r": 49,
    "g": 179,
    "b": 82
  },
  "hsl": {
    "h": 135.231,
    "s": 57.018,
    "l": 44.706
  },
  "oklch": {
    "l": 0.67599,
    "c": 0.17639,
    "h": 147.7
  },
  "luminance": 0.33502
}

Semantic roles & 50–950 ramp

primary
#31B352
secondary
#C67AB3
accent
#48BAE0
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31B352

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

Preview Lab → · Contrast checker → · Palette generator →

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