#31AF4F#31AF4F

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

Color values

HEX#31AF4F
RGBrgb(49, 175, 79)
HSLhsl(134, 56%, 44%)
HSVhsv(134, 72%, 69%)
CMYKcmyk(72%, 0%, 54.9%, 31.4%)
CIE-LABlab(63.24, -54.38, 39.16)
CIE-LCHlch(63.24, 67.02, 144.24°)
OKLaboklab(66.49% -0.1465 0.0938)
OKLCHoklch(66.49% 0.174 147.4)
XYZxyz(18.0065, 31.8754, 12.5992)
Luminance0.3188 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF4F #AF3191
analogous
#52AF31 #31AF4F #31AF8E
triadic
#31AF4F #4F31AF #AF4F31
tetradic
#31AF4F #3152AF #AF3191 #AF8E31
square
#31AF4F #3152AF #AF3191 #AF8E31
split-complementary
#31AF4F #8E31AF #AF3152
monochromatic
#164F24 #247F39 #31AF4F #4FCE6D #7FDB95

Accessibility & contrast

On white

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

On black

7.38
#31AF4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF4F
7.38:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF4F#FFFFFF#000000##000000
##31AF4F1.002.857.387.38
#FFFFFF2.851.0021.0021.00
#0000007.3821.001.001.00
##0000007.3821.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31af4f;
/* rgb */ color: rgb(49, 175, 79);
/* oklch */ color: oklch(66.5% 0.174 147.4);
Tailwind
colors: {
  custom: {
    50: '#7bc883',
    500: '#31af4f',
    950: '#000000',
  },
}
SCSS
$custom: #31af4f;
$custom-light: #7bc883;
$custom-dark: #000000;
JSON
{
  "hex": "#31af4f",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 79
  },
  "hsl": {
    "h": 134.286,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66492,
    "c": 0.17392,
    "h": 147.4
  },
  "luminance": 0.31877
}

Semantic roles & 50–950 ramp

primary
#31AF4F
secondary
#C478B2
accent
#48BCE0
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31AF4F

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

Preview Lab → · Contrast checker → · Palette generator →

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