#31AF36#31AF36

#31AF36 is a light, vivid green. Relative luminance 0.316; OKLCH L 66.2% C 0.193 H 143.5°. Best body text is #000000 at 7.32:1 contrast (WCAG AA passes).

Color values

HEX#31AF36
RGBrgb(49, 175, 54)
HSLhsl(122, 56%, 44%)
HSVhsv(122, 72%, 69%)
CMYKcmyk(72%, 0%, 69.1%, 31.4%)
CIE-LABlab(62.99, -57.33, 50.13)
CIE-LCHlch(62.99, 76.16, 138.83°)
OKLaboklab(66.21% -0.1554 0.115)
OKLCHoklch(66.21% 0.193 143.5)
XYZxyz(17.2614, 31.5773, 8.6746)
Luminance0.3158 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF36 #AF31AA
analogous
#6BAF31 #31AF36 #31AF75
triadic
#31AF36 #3631AF #AF3631
tetradic
#31AF36 #316BAF #AF31AA #AF7531
square
#31AF36 #316BAF #AF31AA #AF7531
split-complementary
#31AF36 #7531AF #AF316B
monochromatic
#164F18 #247F27 #31AF36 #4FCE54 #7FDB83

Accessibility & contrast

On white

2.87
#31AF36 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.32
#31AF36 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF36
7.32:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF36#FFFFFF#000000##000000
##31AF361.002.877.327.32
#FFFFFF2.871.0021.0021.00
#0000007.3221.001.001.00
##0000007.3221.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E24
Deuteranopia (green-blind)
#A49542
Tritanopia (blue-blind)
#00AA97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31af36;
/* rgb */ color: rgb(49, 175, 54);
/* oklch */ color: oklch(66.2% 0.193 143.5);
Tailwind
colors: {
  custom: {
    50: '#7cc873',
    500: '#31af36',
    950: '#000000',
  },
}
SCSS
$custom: #31af36;
$custom-light: #7cc873;
$custom-dark: #000000;
JSON
{
  "hex": "#31af36",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 54
  },
  "hsl": {
    "h": 122.381,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66206,
    "c": 0.19334,
    "h": 143.5
  },
  "luminance": 0.31579
}

Semantic roles & 50–950 ramp

primary
#31AF36
secondary
#C478C1
accent
#48DAE0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AF36

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

Preview Lab → · Contrast checker → · Palette generator →

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