#31AF3A#31AF3A

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

Color values

HEX#31AF3A
RGBrgb(49, 175, 58)
HSLhsl(124, 56%, 44%)
HSVhsv(124, 72%, 69%)
CMYKcmyk(72%, 0%, 66.9%, 31.4%)
CIE-LABlab(63.02, -56.94, 48.52)
CIE-LCHlch(63.02, 74.81, 139.57°)
OKLaboklab(66.24% -0.1542 0.1121)
OKLCHoklch(66.24% 0.191 144)
XYZxyz(17.3592, 31.6165, 9.1899)
Luminance0.3162 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF3A #AF31A6
analogous
#67AF31 #31AF3A #31AF79
triadic
#31AF3A #3A31AF #AF3A31
tetradic
#31AF3A #3167AF #AF31A6 #AF7931
square
#31AF3A #3167AF #AF31A6 #AF7931
split-complementary
#31AF3A #7931AF #AF3167
monochromatic
#164F1A #247F2A #31AF3A #4FCE58 #7FDB86

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AF3A#FFFFFF#000000##000000
##31AF3A1.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)
#B29F2B
Deuteranopia (green-blind)
#A49545
Tritanopia (blue-blind)
#00AA97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31af3a;
/* rgb */ color: rgb(49, 175, 58);
/* oklch */ color: oklch(66.2% 0.191 144.0);
Tailwind
colors: {
  custom: {
    50: '#7cc876',
    500: '#31af3a',
    950: '#000000',
  },
}
SCSS
$custom: #31af3a;
$custom-light: #7cc876;
$custom-dark: #000000;
JSON
{
  "hex": "#31af3a",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 58
  },
  "hsl": {
    "h": 124.286,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66244,
    "c": 0.19059,
    "h": 144
  },
  "luminance": 0.31618
}

Semantic roles & 50–950 ramp

primary
#31AF3A
secondary
#C478BF
accent
#48D5E0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AF3A

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

Preview Lab → · Contrast checker → · Palette generator →

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