#31A45B#31A45B

#31A45B is a light, vivid green. Relative luminance 0.280; OKLCH L 63.7% C 0.149 H 151.4°. Best body text is #000000 at 6.59:1 contrast (WCAG AA passes).

Color values

HEX#31A45B
RGBrgb(49, 164, 91)
HSLhsl(142, 54%, 42%)
HSVhsv(142, 70%, 64%)
CMYKcmyk(70.1%, 0%, 44.5%, 35.7%)
CIE-LABlab(59.85, -48.42, 28.82)
CIE-LCHlch(59.85, 56.34, 149.24°)
OKLaboklab(63.75% -0.1305 0.071)
OKLCHoklch(63.75% 0.149 151.4)
XYZxyz(16.4290, 27.9574, 14.4260)
Luminance0.2796 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A45B #A4317A
analogous
#41A431 #31A45B #31A495
triadic
#31A45B #5B31A4 #A45B31
tetradic
#31A45B #3141A4 #A4317A #A49531
square
#31A45B #3141A4 #A4317A #A49531
split-complementary
#31A45B #9531A4 #A43141
monochromatic
#154627 #237541 #31A45B #49C978 #79D79B

Accessibility & contrast

On white

3.19
#31A45B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.59
#31A45B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A45B
6.59:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A45B#FFFFFF#000000##000000
##31A45B1.003.196.596.59
#FFFFFF3.191.0021.0021.00
#0000006.5921.001.001.00
##0000006.5921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A59656
Deuteranopia (green-blind)
#968C60
Tritanopia (blue-blind)
#00A192
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a45b;
/* rgb */ color: rgb(49, 164, 91);
/* oklch */ color: oklch(63.7% 0.149 151.4);
Tailwind
colors: {
  custom: {
    50: '#78c08a',
    500: '#31a45b',
    950: '#000000',
  },
}
SCSS
$custom: #31a45b;
$custom-light: #78c08a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a45b",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 91
  },
  "hsl": {
    "h": 141.913,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63745,
    "c": 0.14853,
    "h": 151.4
  },
  "luminance": 0.27959
}

Semantic roles & 50–950 ramp

primary
#31A45B
secondary
#BF72A3
accent
#4AA8DD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A45B

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

Preview Lab → · Contrast checker → · Palette generator →

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