#31AF4B#31AF4B

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

Color values

HEX#31AF4B
RGBrgb(49, 175, 75)
HSLhsl(132, 56%, 44%)
HSVhsv(132, 72%, 69%)
CMYKcmyk(72%, 0%, 57.1%, 31.4%)
CIE-LABlab(63.19, -54.94, 41.04)
CIE-LCHlch(63.19, 68.57, 143.24°)
OKLaboklab(66.44% -0.1481 0.0976)
OKLCHoklch(66.44% 0.177 146.6)
XYZxyz(17.8653, 31.8189, 11.8554)
Luminance0.3182 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF4B #AF3195
analogous
#56AF31 #31AF4B #31AF8A
triadic
#31AF4B #4B31AF #AF4B31
tetradic
#31AF4B #3156AF #AF3195 #AF8A31
square
#31AF4B #3156AF #AF3195 #AF8A31
split-complementary
#31AF4B #8A31AF #AF3156
monochromatic
#164F22 #247F37 #31AF4B #4FCE69 #7FDB92

Accessibility & contrast

On white

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

On black

7.36
#31AF4B on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF4B
7.36:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF4B#FFFFFF#000000##000000
##31AF4B1.002.857.367.36
#FFFFFF2.851.0021.0021.00
#0000007.3621.001.001.00
##0000007.3621.001.001.00

Color blindness preview

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

Design tokens & code

CSS
--color: #31af4b;
/* rgb */ color: rgb(49, 175, 75);
/* oklch */ color: oklch(66.4% 0.177 146.6);
Tailwind
colors: {
  custom: {
    50: '#7bc880',
    500: '#31af4b',
    950: '#000000',
  },
}
SCSS
$custom: #31af4b;
$custom-light: #7bc880;
$custom-dark: #000000;
JSON
{
  "hex": "#31af4b",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 75
  },
  "hsl": {
    "h": 132.381,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66438,
    "c": 0.17734,
    "h": 146.6
  },
  "luminance": 0.31821
}

Semantic roles & 50–950 ramp

primary
#31AF4B
secondary
#C478B4
accent
#48C0E0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31AF4B

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

Preview Lab → · Contrast checker → · Palette generator →

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