#31A951#31A951

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

Color values

HEX#31A951
RGBrgb(49, 169, 81)
HSLhsl(136, 55%, 43%)
HSVhsv(136, 71%, 66%)
CMYKcmyk(71%, 0%, 52.1%, 33.7%)
CIE-LABlab(61.33, -51.93, 35.84)
CIE-LCHlch(61.33, 63.10, 145.39°)
OKLaboklab(64.92% -0.1398 0.0865)
OKLCHoklch(64.92% 0.164 148.3)
XYZxyz(16.9385, 29.6211, 12.6077)
Luminance0.2962 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A951 #A93189
analogous
#4DA931 #31A951 #31A98D
triadic
#31A951 #5131A9 #A95131
tetradic
#31A951 #314DA9 #A93189 #A98D31
square
#31A951 #314DA9 #A93189 #A98D31
split-complementary
#31A951 #8D31A9 #A9314D
monochromatic
#154A24 #237A3A #31A951 #4CCB6E #7CD994

Accessibility & contrast

On white

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

On black

6.92
#31A951 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A951
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A951#FFFFFF#000000##000000
##31A9511.003.036.926.92
#FFFFFF3.031.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31a951;
/* rgb */ color: rgb(49, 169, 81);
/* oklch */ color: oklch(64.9% 0.164 148.3);
Tailwind
colors: {
  custom: {
    50: '#7ac484',
    500: '#31a951',
    950: '#000000',
  },
}
SCSS
$custom: #31a951;
$custom-light: #7ac484;
$custom-dark: #000000;
JSON
{
  "hex": "#31a951",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 81
  },
  "hsl": {
    "h": 136,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.64917,
    "c": 0.16444,
    "h": 148.3
  },
  "luminance": 0.29623
}

Semantic roles & 50–950 ramp

primary
#31A951
secondary
#C174AD
accent
#49B7DE
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #31A951

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

Preview Lab → · Contrast checker → · Palette generator →

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