#31A952#31A952

#31A952 is a light, vivid green. Relative luminance 0.296; OKLCH L 64.9% C 0.164 H 148.5°. Best body text is #000000 at 6.93:1 contrast (WCAG AA passes).

Color values

HEX#31A952
RGBrgb(49, 169, 82)
HSLhsl(137, 55%, 43%)
HSVhsv(137, 71%, 66%)
CMYKcmyk(71%, 0%, 51.5%, 33.7%)
CIE-LABlab(61.34, -51.78, 35.35)
CIE-LCHlch(61.34, 62.69, 145.68°)
OKLaboklab(64.93% -0.1394 0.0855)
OKLCHoklch(64.93% 0.164 148.5)
XYZxyz(16.9763, 29.6362, 12.8067)
Luminance0.2964 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A952 #A93188
analogous
#4CA931 #31A952 #31A98E
triadic
#31A952 #5231A9 #A95231
tetradic
#31A952 #314CA9 #A93188 #A98E31
square
#31A952 #314CA9 #A93188 #A98E31
split-complementary
#31A952 #8E31A9 #A9314C
monochromatic
#154A24 #237A3B #31A952 #4CCB6F #7CD995

Accessibility & contrast

On white

3.03
#31A952 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.93
#31A952 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A952
6.93:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A952#FFFFFF#000000##000000
##31A9521.003.036.936.93
#FFFFFF3.031.0021.0021.00
#0000006.9321.001.001.00
##0000006.9321.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A4B
Deuteranopia (green-blind)
#9C9058
Tritanopia (blue-blind)
#00A695
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a952;
/* rgb */ color: rgb(49, 169, 82);
/* oklch */ color: oklch(64.9% 0.164 148.5);
Tailwind
colors: {
  custom: {
    50: '#7ac484',
    500: '#31a952',
    950: '#000000',
  },
}
SCSS
$custom: #31a952;
$custom-light: #7ac484;
$custom-dark: #000000;
JSON
{
  "hex": "#31a952",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 82
  },
  "hsl": {
    "h": 136.5,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.64932,
    "c": 0.16354,
    "h": 148.5
  },
  "luminance": 0.29638
}

Semantic roles & 50–950 ramp

primary
#31A952
secondary
#C174AC
accent
#49B5DE
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #31A952

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

Preview Lab → · Contrast checker → · Palette generator →

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