#31AF33#31AF33

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

Color values

HEX#31AF33
RGBrgb(49, 175, 51)
HSLhsl(121, 56%, 44%)
HSVhsv(121, 72%, 69%)
CMYKcmyk(72%, 0%, 70.9%, 31.4%)
CIE-LABlab(62.97, -57.61, 51.30)
CIE-LCHlch(62.97, 77.14, 138.31°)
OKLaboklab(66.18% -0.1563 0.1171)
OKLCHoklch(66.18% 0.195 143.2)
XYZxyz(17.1931, 31.5500, 8.3150)
Luminance0.3155 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF33 #AF31AD
analogous
#6EAF31 #31AF33 #31AF72
triadic
#31AF33 #3331AF #AF3331
tetradic
#31AF33 #316EAF #AF31AD #AF7231
square
#31AF33 #316EAF #AF31AD #AF7231
split-complementary
#31AF33 #7231AF #AF316E
monochromatic
#164F17 #247F25 #31AF33 #4FCE51 #7FDB81

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AF33#FFFFFF#000000##000000
##31AF331.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)
#B39E20
Deuteranopia (green-blind)
#A4953F
Tritanopia (blue-blind)
#00AA96
Achromatopsia (no color)
#989898

Design tokens & code

CSS
--color: #31af33;
/* rgb */ color: rgb(49, 175, 51);
/* oklch */ color: oklch(66.2% 0.195 143.2);
Tailwind
colors: {
  custom: {
    50: '#7cc872',
    500: '#31af33',
    950: '#000000',
  },
}
SCSS
$custom: #31af33;
$custom-light: #7cc872;
$custom-dark: #000000;
JSON
{
  "hex": "#31af33",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 51
  },
  "hsl": {
    "h": 120.952,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.6618,
    "c": 0.1953,
    "h": 143.2
  },
  "luminance": 0.31552
}

Semantic roles & 50–950 ramp

primary
#31AF33
secondary
#C478C3
accent
#48DDE0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1308
muted
#7C827B

Preview Lab

Preview with #31AF33

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

Preview Lab → · Contrast checker → · Palette generator →

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