#31AF4E#31AF4E

#31AF4E is a light, vivid green. Relative luminance 0.319; OKLCH L 66.5% C 0.175 H 147.2°. Best body text is #000000 at 7.37:1 contrast (WCAG AA passes).

Color values

HEX#31AF4E
RGBrgb(49, 175, 78)
HSLhsl(134, 56%, 44%)
HSVhsv(134, 72%, 69%)
CMYKcmyk(72%, 0%, 55.4%, 31.4%)
CIE-LABlab(63.23, -54.52, 39.63)
CIE-LCHlch(63.23, 67.41, 143.99°)
OKLaboklab(66.48% -0.1469 0.0947)
OKLCHoklch(66.48% 0.175 147.2)
XYZxyz(17.9704, 31.8610, 12.4090)
Luminance0.3186 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF4E #AF3192
analogous
#53AF31 #31AF4E #31AF8D
triadic
#31AF4E #4E31AF #AF4E31
tetradic
#31AF4E #3153AF #AF3192 #AF8D31
square
#31AF4E #3153AF #AF3192 #AF8D31
split-complementary
#31AF4E #8D31AF #AF3153
monochromatic
#164F23 #247F39 #31AF4E #4FCE6C #7FDB94

Accessibility & contrast

On white

2.85
#31AF4E on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.37
#31AF4E on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF4E
7.37:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF4E#FFFFFF#000000##000000
##31AF4E1.002.857.377.37
#FFFFFF2.851.0021.0021.00
#0000007.3721.001.001.00
##0000007.3721.001.001.00

Color blindness preview

Protanopia (red-blind)
#B19F45
Deuteranopia (green-blind)
#A29555
Tritanopia (blue-blind)
#00AB99
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31af4e;
/* rgb */ color: rgb(49, 175, 78);
/* oklch */ color: oklch(66.5% 0.175 147.2);
Tailwind
colors: {
  custom: {
    50: '#7bc882',
    500: '#31af4e',
    950: '#000000',
  },
}
SCSS
$custom: #31af4e;
$custom-light: #7bc882;
$custom-dark: #000000;
JSON
{
  "hex": "#31af4e",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 78
  },
  "hsl": {
    "h": 133.81,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66478,
    "c": 0.17478,
    "h": 147.2
  },
  "luminance": 0.31863
}

Semantic roles & 50–950 ramp

primary
#31AF4E
secondary
#C478B3
accent
#48BDE0
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31AF4E

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

Preview Lab → · Contrast checker → · Palette generator →

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