#31A85B#31A85B

#31A85B is a light, vivid green. Relative luminance 0.294; OKLCH L 64.8% C 0.154 H 150.9°. Best body text is #000000 at 6.88:1 contrast (WCAG AA passes).

Color values

HEX#31A85B
RGBrgb(49, 168, 91)
HSLhsl(141, 55%, 43%)
HSVhsv(141, 71%, 66%)
CMYKcmyk(70.8%, 0%, 45.8%, 34.1%)
CIE-LABlab(61.14, -49.94, 30.48)
CIE-LCHlch(61.14, 58.51, 148.60°)
OKLaboklab(64.81% -0.1345 0.0748)
OKLCHoklch(64.81% 0.154 150.9)
XYZxyz(17.1562, 29.4117, 14.6684)
Luminance0.2941 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A85B #A8317E
analogous
#43A831 #31A85B #31A896
triadic
#31A85B #5B31A8 #A85B31
tetradic
#31A85B #3143A8 #A8317E #A89631
square
#31A85B #3143A8 #A8317E #A89631
split-complementary
#31A85B #9631A8 #A83143
monochromatic
#154928 #237941 #31A85B #4CCB78 #7BD89C

Accessibility & contrast

On white

3.05
#31A85B on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.88
#31A85B on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A85B
6.88:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A85B#FFFFFF#000000##000000
##31A85B1.003.056.886.88
#FFFFFF3.051.0021.0021.00
#0000006.8821.001.001.00
##0000006.8821.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99A55
Deuteranopia (green-blind)
#9A9060
Tritanopia (blue-blind)
#00A595
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a85b;
/* rgb */ color: rgb(49, 168, 91);
/* oklch */ color: oklch(64.8% 0.154 150.9);
Tailwind
colors: {
  custom: {
    50: '#79c38a',
    500: '#31a85b',
    950: '#000000',
  },
}
SCSS
$custom: #31a85b;
$custom-light: #79c38a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a85b",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 91
  },
  "hsl": {
    "h": 141.176,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64812,
    "c": 0.15391,
    "h": 150.9
  },
  "luminance": 0.29414
}

Semantic roles & 50–950 ramp

primary
#31A85B
secondary
#C174A6
accent
#4AAADE
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31A85B

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

Preview Lab → · Contrast checker → · Palette generator →

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