#31AF46#31AF46

#31AF46 is a light, vivid green. Relative luminance 0.318; OKLCH L 66.4% C 0.181 H 145.7°. Best body text is #000000 at 7.35:1 contrast (WCAG AA passes).

Color values

HEX#31AF46
RGBrgb(49, 175, 70)
HSLhsl(130, 56%, 44%)
HSVhsv(130, 72%, 69%)
CMYKcmyk(72%, 0%, 60%, 31.4%)
CIE-LABlab(63.14, -55.58, 43.33)
CIE-LCHlch(63.14, 70.47, 142.06°)
OKLaboklab(66.38% -0.15 0.1022)
OKLCHoklch(66.38% 0.181 145.7)
XYZxyz(17.7009, 31.7531, 10.9893)
Luminance0.3175 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF46 #AF319A
analogous
#5BAF31 #31AF46 #31AF85
triadic
#31AF46 #4631AF #AF4631
tetradic
#31AF46 #315BAF #AF319A #AF8531
square
#31AF46 #315BAF #AF319A #AF8531
split-complementary
#31AF46 #8531AF #AF315B
monochromatic
#164F20 #247F33 #31AF46 #4FCE64 #7FDB8F

Accessibility & contrast

On white

2.86
#31AF46 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.35
#31AF46 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF46
7.35:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF46#FFFFFF#000000##000000
##31AF461.002.867.357.35
#FFFFFF2.861.0021.0021.00
#0000007.3521.001.001.00
##0000007.3521.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F3B
Deuteranopia (green-blind)
#A3954F
Tritanopia (blue-blind)
#00AB98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31af46;
/* rgb */ color: rgb(49, 175, 70);
/* oklch */ color: oklch(66.4% 0.181 145.7);
Tailwind
colors: {
  custom: {
    50: '#7bc87d',
    500: '#31af46',
    950: '#000000',
  },
}
SCSS
$custom: #31af46;
$custom-light: #7bc87d;
$custom-dark: #000000;
JSON
{
  "hex": "#31af46",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 70
  },
  "hsl": {
    "h": 130,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66375,
    "c": 0.18147,
    "h": 145.7
  },
  "luminance": 0.31755
}

Semantic roles & 50–950 ramp

primary
#31AF46
secondary
#C478B7
accent
#48C6E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31AF46

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

Preview Lab → · Contrast checker → · Palette generator →

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