#31A35F#31A35F

#31A35F is a light, vivid green. Relative luminance 0.277; OKLCH L 63.6% C 0.143 H 152.9°. Best body text is #000000 at 6.53:1 contrast (WCAG AA passes).

Color values

HEX#31A35F
RGBrgb(49, 163, 95)
HSLhsl(144, 54%, 42%)
HSVhsv(144, 70%, 64%)
CMYKcmyk(69.9%, 0%, 41.7%, 36.1%)
CIE-LABlab(59.59, -47.31, 26.35)
CIE-LCHlch(59.59, 54.15, 150.88°)
OKLaboklab(63.55% -0.1276 0.0654)
OKLCHoklch(63.55% 0.143 152.9)
XYZxyz(16.4280, 27.6718, 15.2997)
Luminance0.2767 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A35F #A33175
analogous
#3CA331 #31A35F #31A398
triadic
#31A35F #5F31A3 #A35F31
tetradic
#31A35F #313CA3 #A33175 #A39831
square
#31A35F #313CA3 #A33175 #A39831
split-complementary
#31A35F #9831A3 #A3313C
monochromatic
#154528 #237444 #31A35F #49C87C #78D69E

Accessibility & contrast

On white

3.21
#31A35F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.53
#31A35F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A35F
6.53:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A35F#FFFFFF#000000##000000
##31A35F1.003.216.536.53
#FFFFFF3.211.0021.0021.00
#0000006.5321.001.001.00
##0000006.5321.001.001.00

Color blindness preview

Protanopia (red-blind)
#A3965A
Deuteranopia (green-blind)
#958C64
Tritanopia (blue-blind)
#00A192
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a35f;
/* rgb */ color: rgb(49, 163, 95);
/* oklch */ color: oklch(63.6% 0.143 152.9);
Tailwind
colors: {
  custom: {
    50: '#78bf8d',
    500: '#31a35f',
    950: '#000000',
  },
}
SCSS
$custom: #31a35f;
$custom-light: #78bf8d;
$custom-dark: #000000;
JSON
{
  "hex": "#31a35f",
  "rgb": {
    "r": 49,
    "g": 163,
    "b": 95
  },
  "hsl": {
    "h": 144.211,
    "s": 53.774,
    "l": 41.569
  },
  "oklch": {
    "l": 0.63552,
    "c": 0.14337,
    "h": 152.9
  },
  "luminance": 0.27674
}

Semantic roles & 50–950 ramp

primary
#31A35F
secondary
#BF719F
accent
#4BA2DD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A35F

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

Preview Lab → · Contrast checker → · Palette generator →

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