#31A352#31A352

#31A352 is a light, vivid green. Relative luminance 0.275; OKLCH L 63.3% C 0.156 H 149.0°. Best body text is #000000 at 6.49:1 contrast (WCAG AA passes).

Color values

HEX#31A352
RGBrgb(49, 163, 82)
HSLhsl(137, 54%, 42%)
HSVhsv(137, 70%, 64%)
CMYKcmyk(69.9%, 0%, 49.7%, 36.1%)
CIE-LABlab(59.39, -49.55, 32.93)
CIE-LCHlch(59.39, 59.50, 146.39°)
OKLaboklab(63.32% -0.1335 0.0801)
OKLCHoklch(63.32% 0.156 149)
XYZxyz(15.8856, 27.4548, 12.4431)
Luminance0.2746 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A352 #A33182
analogous
#49A331 #31A352 #31A38B
triadic
#31A352 #5231A3 #A35231
tetradic
#31A352 #3149A3 #A33182 #A38B31
square
#31A352 #3149A3 #A33182 #A38B31
split-complementary
#31A352 #8B31A3 #A33149
monochromatic
#154523 #23743A #31A352 #49C86E #78D693

Accessibility & contrast

On white

3.24
#31A352 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.49
#31A352 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A352
6.49:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A352#FFFFFF#000000##000000
##31A3521.003.246.496.49
#FFFFFF3.241.0021.0021.00
#0000006.4921.001.001.00
##0000006.4921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A4954B
Deuteranopia (green-blind)
#978B58
Tritanopia (blue-blind)
#00A090
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a352;
/* rgb */ color: rgb(49, 163, 82);
/* oklch */ color: oklch(63.3% 0.156 149.0);
Tailwind
colors: {
  custom: {
    50: '#78bf84',
    500: '#31a352',
    950: '#000000',
  },
}
SCSS
$custom: #31a352;
$custom-light: #78bf84;
$custom-dark: #000000;
JSON
{
  "hex": "#31a352",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 82
  },
  "hsl": {
    "h": 137.368,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63324,
    "c": 0.15563,
    "h": 149
  },
  "luminance": 0.27457
}

Semantic roles & 50–950 ramp

primary
#31A352
secondary
#BF71A8
accent
#4BB3DD
background
#F7FBF8
surface
#EEF7EF
border
#C9D0CA
text
#0A120B
muted
#7C817C

Preview Lab

Preview with #31A352

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

Preview Lab → · Contrast checker → · Palette generator →

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