#31AF34#31AF34

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

Color values

HEX#31AF34
RGBrgb(49, 175, 52)
HSLhsl(121, 56%, 44%)
HSVhsv(121, 72%, 69%)
CMYKcmyk(72%, 0%, 70.3%, 31.4%)
CIE-LABlab(62.98, -57.52, 50.92)
CIE-LCHlch(62.98, 76.82, 138.48°)
OKLaboklab(66.19% -0.156 0.1164)
OKLCHoklch(66.19% 0.195 143.3)
XYZxyz(17.2154, 31.5589, 8.4324)
Luminance0.3156 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF34 #AF31AC
analogous
#6DAF31 #31AF34 #31AF73
triadic
#31AF34 #3431AF #AF3431
tetradic
#31AF34 #316DAF #AF31AC #AF7331
square
#31AF34 #316DAF #AF31AC #AF7331
split-complementary
#31AF34 #7331AF #AF316D
monochromatic
#164F18 #247F26 #31AF34 #4FCE52 #7FDB81

Accessibility & contrast

On white

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

On black

7.31
#31AF34 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF34
7.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF34#FFFFFF#000000##000000
##31AF341.002.877.317.31
#FFFFFF2.871.0021.0021.00
#0000007.3121.001.001.00
##0000007.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#B39E21
Deuteranopia (green-blind)
#A49540
Tritanopia (blue-blind)
#00AA96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31af34;
/* rgb */ color: rgb(49, 175, 52);
/* oklch */ color: oklch(66.2% 0.195 143.3);
Tailwind
colors: {
  custom: {
    50: '#7cc872',
    500: '#31af34',
    950: '#000000',
  },
}
SCSS
$custom: #31af34;
$custom-light: #7cc872;
$custom-dark: #000000;
JSON
{
  "hex": "#31af34",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 52
  },
  "hsl": {
    "h": 121.429,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66189,
    "c": 0.19466,
    "h": 143.3
  },
  "luminance": 0.31561
}

Semantic roles & 50–950 ramp

primary
#31AF34
secondary
#C478C2
accent
#48DCE0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AF34

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

Preview Lab → · Contrast checker → · Palette generator →

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