#31AF6B#31AF6B

#31AF6B is a light, vivid green. Relative luminance 0.324; OKLCH L 67.0% C 0.148 H 154.8°. Best body text is #000000 at 7.47:1 contrast (WCAG AA passes).

Color values

HEX#31AF6B
RGBrgb(49, 175, 107)
HSLhsl(148, 56%, 44%)
HSVhsv(148, 72%, 69%)
CMYKcmyk(72%, 0%, 38.9%, 31.4%)
CIE-LABlab(63.65, -49.69, 25.29)
CIE-LCHlch(63.65, 55.76, 153.03°)
OKLaboklab(66.96% -0.1342 0.0631)
OKLCHoklch(66.96% 0.148 154.8)
XYZxyz(19.2487, 32.3723, 19.1411)
Luminance0.3237 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF6B #AF3175
analogous
#36AF31 #31AF6B #31AFAA
triadic
#31AF6B #6B31AF #AF6B31
tetradic
#31AF6B #3136AF #AF3175 #AFAA31
square
#31AF6B #3136AF #AF3175 #AFAA31
split-complementary
#31AF6B #AA31AF #AF3136
monochromatic
#164F31 #247F4E #31AF6B #4FCE8A #7FDBAA

Accessibility & contrast

On white

2.81
#31AF6B on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.47
#31AF6B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF6B
7.47:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF6B#FFFFFF#000000##000000
##31AF6B1.002.817.477.47
#FFFFFF2.811.0021.0021.00
#0000007.4721.001.001.00
##0000007.4721.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA166
Deuteranopia (green-blind)
#9F9670
Tritanopia (blue-blind)
#00AD9E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31af6b;
/* rgb */ color: rgb(49, 175, 107);
/* oklch */ color: oklch(67.0% 0.148 154.8);
Tailwind
colors: {
  custom: {
    50: '#7ac896',
    500: '#31af6b',
    950: '#000000',
  },
}
SCSS
$custom: #31af6b;
$custom-light: #7ac896;
$custom-dark: #000000;
JSON
{
  "hex": "#31af6b",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 107
  },
  "hsl": {
    "h": 147.619,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66963,
    "c": 0.14828,
    "h": 154.8
  },
  "luminance": 0.32374
}

Semantic roles & 50–950 ramp

primary
#31AF6B
secondary
#C478A1
accent
#489AE0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31AF6B

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

Preview Lab → · Contrast checker → · Palette generator →

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