#31AF5F#31AF5F

#31AF5F is a light, vivid green. Relative luminance 0.321; OKLCH L 66.7% C 0.159 H 151.1°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).

Color values

HEX#31AF5F
RGBrgb(49, 175, 95)
HSLhsl(142, 56%, 44%)
HSVhsv(142, 72%, 69%)
CMYKcmyk(72%, 0%, 45.7%, 31.4%)
CIE-LABlab(63.46, -51.88, 31.36)
CIE-LCHlch(63.46, 60.62, 148.85°)
OKLaboklab(66.74% -0.1397 0.077)
OKLCHoklch(66.74% 0.159 151.1)
XYZxyz(18.6606, 32.1370, 16.0439)
Luminance0.3214 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF5F #AF3181
analogous
#42AF31 #31AF5F #31AF9E
triadic
#31AF5F #5F31AF #AF5F31
tetradic
#31AF5F #3142AF #AF3181 #AF9E31
square
#31AF5F #3142AF #AF3181 #AF9E31
split-complementary
#31AF5F #9E31AF #AF3142
monochromatic
#164F2B #247F45 #31AF5F #4FCE7E #7FDBA1

Accessibility & contrast

On white

2.83
#31AF5F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.43
#31AF5F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF5F
7.43:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF5F#FFFFFF#000000##000000
##31AF5F1.002.837.437.43
#FFFFFF2.831.0021.0021.00
#0000007.4321.001.001.00
##0000007.4321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A059
Deuteranopia (green-blind)
#A19565
Tritanopia (blue-blind)
#00AC9C
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31af5f;
/* rgb */ color: rgb(49, 175, 95);
/* oklch */ color: oklch(66.7% 0.159 151.1);
Tailwind
colors: {
  custom: {
    50: '#7bc88d',
    500: '#31af5f',
    950: '#000000',
  },
}
SCSS
$custom: #31af5f;
$custom-light: #7bc88d;
$custom-dark: #000000;
JSON
{
  "hex": "#31af5f",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 95
  },
  "hsl": {
    "h": 141.905,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66741,
    "c": 0.15948,
    "h": 151.1
  },
  "luminance": 0.32139
}

Semantic roles & 50–950 ramp

primary
#31AF5F
secondary
#C478A8
accent
#48A8E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31AF5F

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

Preview Lab → · Contrast checker → · Palette generator →

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