#31AF5E#31AF5E

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

Color values

HEX#31AF5E
RGBrgb(49, 175, 94)
HSLhsl(141, 56%, 44%)
HSVhsv(141, 72%, 69%)
CMYKcmyk(72%, 0%, 46.3%, 31.4%)
CIE-LABlab(63.44, -52.05, 31.86)
CIE-LCHlch(63.44, 61.03, 148.53°)
OKLaboklab(66.72% -0.1401 0.0781)
OKLCHoklch(66.72% 0.16 150.9)
XYZxyz(18.6154, 32.1190, 15.8060)
Luminance0.3212 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF5E #AF3182
analogous
#43AF31 #31AF5E #31AF9D
triadic
#31AF5E #5E31AF #AF5E31
tetradic
#31AF5E #3143AF #AF3182 #AF9D31
square
#31AF5E #3143AF #AF3182 #AF9D31
split-complementary
#31AF5E #9D31AF #AF3143
monochromatic
#164F2B #247F44 #31AF5E #4FCE7D #7FDBA0

Accessibility & contrast

On white

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

On black

7.42
#31AF5E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF5E
7.42:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF5E#FFFFFF#000000##000000
##31AF5E1.002.837.427.42
#FFFFFF2.831.0021.0021.00
#0000007.4221.001.001.00
##0000007.4221.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31af5e;
/* rgb */ color: rgb(49, 175, 94);
/* oklch */ color: oklch(66.7% 0.160 150.9);
Tailwind
colors: {
  custom: {
    50: '#7bc88d',
    500: '#31af5e',
    950: '#000000',
  },
}
SCSS
$custom: #31af5e;
$custom-light: #7bc88d;
$custom-dark: #000000;
JSON
{
  "hex": "#31af5e",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 94
  },
  "hsl": {
    "h": 141.429,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66723,
    "c": 0.1604,
    "h": 150.9
  },
  "luminance": 0.32121
}

Semantic roles & 50–950 ramp

primary
#31AF5E
secondary
#C478A9
accent
#48AAE0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D

Preview Lab

Preview with #31AF5E

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

Preview Lab → · Contrast checker → · Palette generator →

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