#31AF5B#31AF5B

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

Color values

HEX#31AF5B
RGBrgb(49, 175, 91)
HSLhsl(140, 56%, 44%)
HSVhsv(140, 72%, 69%)
CMYKcmyk(72%, 0%, 48%, 31.4%)
CIE-LABlab(63.40, -52.55, 33.34)
CIE-LCHlch(63.40, 62.24, 147.60°)
OKLaboklab(66.67% -0.1414 0.0814)
OKLCHoklch(66.67% 0.163 150.1)
XYZxyz(18.4834, 32.0662, 15.1108)
Luminance0.3207 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF5B #AF3185
analogous
#46AF31 #31AF5B #31AF9A
triadic
#31AF5B #5B31AF #AF5B31
tetradic
#31AF5B #3146AF #AF3185 #AF9A31
square
#31AF5B #3146AF #AF3185 #AF9A31
split-complementary
#31AF5B #9A31AF #AF3146
monochromatic
#164F29 #247F42 #31AF5B #4FCE7A #7FDB9E

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AF5B#FFFFFF#000000##000000
##31AF5B1.002.837.417.41
#FFFFFF2.831.0021.0021.00
#0000007.4121.001.001.00
##0000007.4121.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31af5b;
/* rgb */ color: rgb(49, 175, 91);
/* oklch */ color: oklch(66.7% 0.163 150.1);
Tailwind
colors: {
  custom: {
    50: '#7bc88b',
    500: '#31af5b',
    950: '#000000',
  },
}
SCSS
$custom: #31af5b;
$custom-light: #7bc88b;
$custom-dark: #000000;
JSON
{
  "hex": "#31af5b",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 91
  },
  "hsl": {
    "h": 140,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66673,
    "c": 0.16318,
    "h": 150.1
  },
  "luminance": 0.32068
}

Semantic roles & 50–950 ramp

primary
#31AF5B
secondary
#C478AB
accent
#48ADE0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31AF5B

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

Preview Lab → · Contrast checker → · Palette generator →

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