#31A85A#31A85A

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

Color values

HEX#31A85A
RGBrgb(49, 168, 90)
HSLhsl(141, 55%, 43%)
HSVhsv(141, 71%, 66%)
CMYKcmyk(70.8%, 0%, 46.4%, 34.1%)
CIE-LABlab(61.13, -50.11, 30.98)
CIE-LCHlch(61.13, 58.92, 148.27°)
OKLaboklab(64.79% -0.1349 0.076)
OKLCHoklch(64.79% 0.155 150.6)
XYZxyz(17.1133, 29.3945, 14.4427)
Luminance0.2940 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A85A #A8317F
analogous
#44A831 #31A85A #31A895
triadic
#31A85A #5A31A8 #A85A31
tetradic
#31A85A #3144A8 #A8317F #A89531
square
#31A85A #3144A8 #A8317F #A89531
split-complementary
#31A85A #9531A8 #A83144
monochromatic
#154927 #237941 #31A85A #4CCB77 #7BD89B

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A85A#FFFFFF#000000##000000
##31A85A1.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)
#A99A54
Deuteranopia (green-blind)
#9A905F
Tritanopia (blue-blind)
#00A595
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a85a;
/* rgb */ color: rgb(49, 168, 90);
/* oklch */ color: oklch(64.8% 0.155 150.6);
Tailwind
colors: {
  custom: {
    50: '#79c38a',
    500: '#31a85a',
    950: '#000000',
  },
}
SCSS
$custom: #31a85a;
$custom-light: #79c38a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a85a",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 90
  },
  "hsl": {
    "h": 140.672,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64794,
    "c": 0.15485,
    "h": 150.6
  },
  "luminance": 0.29396
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31A85A

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

Preview Lab → · Contrast checker → · Palette generator →

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