#31AF55#31AF55

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

Color values

HEX#31AF55
RGBrgb(49, 175, 85)
HSLhsl(137, 56%, 44%)
HSVhsv(137, 72%, 69%)
CMYKcmyk(72%, 0%, 51.4%, 31.4%)
CIE-LABlab(63.32, -53.50, 36.28)
CIE-LCHlch(63.32, 64.64, 145.86°)
OKLaboklab(66.58% -0.144 0.0877)
OKLCHoklch(66.58% 0.169 148.6)
XYZxyz(18.2349, 31.9667, 13.8018)
Luminance0.3197 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF55 #AF318B
analogous
#4CAF31 #31AF55 #31AF94
triadic
#31AF55 #5531AF #AF5531
tetradic
#31AF55 #314CAF #AF318B #AF9431
square
#31AF55 #314CAF #AF318B #AF9431
split-complementary
#31AF55 #9431AF #AF314C
monochromatic
#164F27 #247F3E #31AF55 #4FCE74 #7FDB99

Accessibility & contrast

On white

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

On black

7.39
#31AF55 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF55
7.39:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF55#FFFFFF#000000##000000
##31AF551.002.847.397.39
#FFFFFF2.841.0021.0021.00
#0000007.3921.001.001.00
##0000007.3921.001.001.00

Color blindness preview

Protanopia (red-blind)
#B1A04D
Deuteranopia (green-blind)
#A2955C
Tritanopia (blue-blind)
#00AC9A
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31af55;
/* rgb */ color: rgb(49, 175, 85);
/* oklch */ color: oklch(66.6% 0.169 148.6);
Tailwind
colors: {
  custom: {
    50: '#7bc887',
    500: '#31af55',
    950: '#000000',
  },
}
SCSS
$custom: #31af55;
$custom-light: #7bc887;
$custom-dark: #000000;
JSON
{
  "hex": "#31af55",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 85
  },
  "hsl": {
    "h": 137.143,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66579,
    "c": 0.16862,
    "h": 148.6
  },
  "luminance": 0.31969
}

Semantic roles & 50–950 ramp

primary
#31AF55
secondary
#C478AE
accent
#48B4E0
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31AF55

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

Preview Lab → · Contrast checker → · Palette generator →

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