#31A85F#31A85F

#31A85F is a light, vivid green. Relative luminance 0.295; OKLCH L 64.9% C 0.150 H 152.1°. Best body text is #000000 at 6.90:1 contrast (WCAG AA passes).

Color values

HEX#31A85F
RGBrgb(49, 168, 95)
HSLhsl(143, 55%, 43%)
HSVhsv(143, 71%, 66%)
CMYKcmyk(70.8%, 0%, 43.5%, 34.1%)
CIE-LABlab(61.21, -49.24, 28.46)
CIE-LCHlch(61.21, 56.87, 149.98°)
OKLaboklab(64.88% -0.1327 0.0703)
OKLCHoklch(64.88% 0.15 152.1)
XYZxyz(17.3333, 29.4825, 15.6015)
Luminance0.2948 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A85F #A8317A
analogous
#3FA831 #31A85F #31A89A
triadic
#31A85F #5F31A8 #A85F31
tetradic
#31A85F #313FA8 #A8317A #A89A31
square
#31A85F #313FA8 #A8317A #A89A31
split-complementary
#31A85F #9A31A8 #A8313F
monochromatic
#154929 #237944 #31A85F #4CCB7D #7BD89F

Accessibility & contrast

On white

3.04
#31A85F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.90
#31A85F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A85F
6.90:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A85F#FFFFFF#000000##000000
##31A85F1.003.046.906.90
#FFFFFF3.041.0021.0021.00
#0000006.9021.001.001.00
##0000006.9021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A89A5A
Deuteranopia (green-blind)
#9A9064
Tritanopia (blue-blind)
#00A696
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a85f;
/* rgb */ color: rgb(49, 168, 95);
/* oklch */ color: oklch(64.9% 0.150 152.1);
Tailwind
colors: {
  custom: {
    50: '#79c38d',
    500: '#31a85f',
    950: '#000000',
  },
}
SCSS
$custom: #31a85f;
$custom-light: #79c38d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a85f",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 95
  },
  "hsl": {
    "h": 143.193,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64883,
    "c": 0.15015,
    "h": 152.1
  },
  "luminance": 0.29484
}

Semantic roles & 50–950 ramp

primary
#31A85F
secondary
#C174A3
accent
#4AA5DE
background
#F7FCF8
surface
#EEF8F0
border
#C9D1CB
text
#0A130C
muted
#7C827D

Preview Lab

Preview with #31A85F

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

Preview Lab → · Contrast checker → · Palette generator →

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