#31A85D#31A85D

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

Color values

HEX#31A85D
RGBrgb(49, 168, 93)
HSLhsl(142, 55%, 43%)
HSVhsv(142, 71%, 66%)
CMYKcmyk(70.8%, 0%, 44.6%, 34.1%)
CIE-LABlab(61.17, -49.59, 29.47)
CIE-LCHlch(61.17, 57.69, 149.28°)
OKLaboklab(64.85% -0.1336 0.0726)
OKLCHoklch(64.85% 0.152 151.5)
XYZxyz(17.2436, 29.4466, 15.1288)
Luminance0.2945 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A85D #A8317C
analogous
#40A831 #31A85D #31A899
triadic
#31A85D #5D31A8 #A85D31
tetradic
#31A85D #3140A8 #A8317C #A89931
square
#31A85D #3140A8 #A8317C #A89931
split-complementary
#31A85D #9931A8 #A83140
monochromatic
#154929 #237943 #31A85D #4CCB7B #7BD89E

Accessibility & contrast

On white

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

On black

6.89
#31A85D on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A85D
6.89:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A85D#FFFFFF#000000##000000
##31A85D1.003.056.896.89
#FFFFFF3.051.0021.0021.00
#0000006.8921.001.001.00
##0000006.8921.001.001.00

Color blindness preview

Protanopia (red-blind)
#A99A57
Deuteranopia (green-blind)
#9A9062
Tritanopia (blue-blind)
#00A596
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a85d;
/* rgb */ color: rgb(49, 168, 93);
/* oklch */ color: oklch(64.8% 0.152 151.5);
Tailwind
colors: {
  custom: {
    50: '#79c38c',
    500: '#31a85d',
    950: '#000000',
  },
}
SCSS
$custom: #31a85d;
$custom-light: #79c38c;
$custom-dark: #000000;
JSON
{
  "hex": "#31a85d",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 93
  },
  "hsl": {
    "h": 142.185,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64847,
    "c": 0.15203,
    "h": 151.5
  },
  "luminance": 0.29449
}

Semantic roles & 50–950 ramp

primary
#31A85D
secondary
#C174A4
accent
#4AA7DE
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31A85D

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

Preview Lab → · Contrast checker → · Palette generator →

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