#31AF59#31AF59

#31AF59 is a light, vivid green. Relative luminance 0.320; OKLCH L 66.6% C 0.165 H 149.6°. Best body text is #000000 at 7.41:1 contrast (WCAG AA passes).

Color values

HEX#31AF59
RGBrgb(49, 175, 89)
HSLhsl(139, 56%, 44%)
HSVhsv(139, 72%, 69%)
CMYKcmyk(72%, 0%, 49.1%, 31.4%)
CIE-LABlab(63.37, -52.88, 34.33)
CIE-LCHlch(63.37, 63.04, 147.01°)
OKLaboklab(66.64% -0.1423 0.0835)
OKLCHoklch(66.64% 0.165 149.6)
XYZxyz(18.3983, 32.0321, 14.6624)
Luminance0.3203 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF59 #AF3187
analogous
#48AF31 #31AF59 #31AF98
triadic
#31AF59 #5931AF #AF5931
tetradic
#31AF59 #3148AF #AF3187 #AF9831
square
#31AF59 #3148AF #AF3187 #AF9831
split-complementary
#31AF59 #9831AF #AF3148
monochromatic
#164F28 #247F41 #31AF59 #4FCE78 #7FDB9C

Accessibility & contrast

On white

2.84
#31AF59 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.41
#31AF59 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF59
7.41:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF59#FFFFFF#000000##000000
##31AF591.002.847.417.41
#FFFFFF2.841.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A052
Deuteranopia (green-blind)
#A1955F
Tritanopia (blue-blind)
#00AC9B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31af59;
/* rgb */ color: rgb(49, 175, 89);
/* oklch */ color: oklch(66.6% 0.165 149.6);
Tailwind
colors: {
  custom: {
    50: '#7bc889',
    500: '#31af59',
    950: '#000000',
  },
}
SCSS
$custom: #31af59;
$custom-light: #7bc889;
$custom-dark: #000000;
JSON
{
  "hex": "#31af59",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 89
  },
  "hsl": {
    "h": 139.048,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66641,
    "c": 0.165,
    "h": 149.6
  },
  "luminance": 0.32034
}

Semantic roles & 50–950 ramp

primary
#31AF59
secondary
#C478AC
accent
#48B0E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31AF59

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

Preview Lab → · Contrast checker → · Palette generator →

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