#31AF35#31AF35

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

Color values

HEX#31AF35
RGBrgb(49, 175, 53)
HSLhsl(122, 56%, 44%)
HSVhsv(122, 72%, 69%)
CMYKcmyk(72%, 0%, 69.7%, 31.4%)
CIE-LABlab(62.98, -57.43, 50.53)
CIE-LCHlch(62.98, 76.49, 138.66°)
OKLaboklab(66.2% -0.1557 0.1157)
OKLCHoklch(66.2% 0.194 143.4)
XYZxyz(17.2381, 31.5680, 8.5522)
Luminance0.3157 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF35 #AF31AB
analogous
#6CAF31 #31AF35 #31AF74
triadic
#31AF35 #3531AF #AF3531
tetradic
#31AF35 #316CAF #AF31AB #AF7431
square
#31AF35 #316CAF #AF31AB #AF7431
split-complementary
#31AF35 #7431AF #AF316C
monochromatic
#164F18 #247F27 #31AF35 #4FCE53 #7FDB82

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AF35#FFFFFF#000000##000000
##31AF351.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)
#B39E23
Deuteranopia (green-blind)
#A49541
Tritanopia (blue-blind)
#00AA97
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31af35;
/* rgb */ color: rgb(49, 175, 53);
/* oklch */ color: oklch(66.2% 0.194 143.4);
Tailwind
colors: {
  custom: {
    50: '#7cc873',
    500: '#31af35',
    950: '#000000',
  },
}
SCSS
$custom: #31af35;
$custom-light: #7cc873;
$custom-dark: #000000;
JSON
{
  "hex": "#31af35",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 53
  },
  "hsl": {
    "h": 121.905,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66197,
    "c": 0.194,
    "h": 143.4
  },
  "luminance": 0.3157
}

Semantic roles & 50–950 ramp

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

Preview Lab

Preview with #31AF35

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

Preview Lab → · Contrast checker → · Palette generator →

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