#31AF3D#31AF3D

#31AF3D is a light, vivid green. Relative luminance 0.317; OKLCH L 66.3% C 0.188 H 144.4°. Best body text is #000000 at 7.33:1 contrast (WCAG AA passes).

Color values

HEX#31AF3D
RGBrgb(49, 175, 61)
HSLhsl(126, 56%, 44%)
HSVhsv(126, 72%, 69%)
CMYKcmyk(72%, 0%, 65.1%, 31.4%)
CIE-LABlab(63.05, -56.63, 47.27)
CIE-LCHlch(63.05, 73.76, 140.15°)
OKLaboklab(66.27% -0.1532 0.1098)
OKLCHoklch(66.27% 0.188 144.4)
XYZxyz(17.4378, 31.6479, 9.6036)
Luminance0.3165 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF3D #AF31A3
analogous
#64AF31 #31AF3D #31AF7C
triadic
#31AF3D #3D31AF #AF3D31
tetradic
#31AF3D #3164AF #AF31A3 #AF7C31
square
#31AF3D #3164AF #AF31A3 #AF7C31
split-complementary
#31AF3D #7C31AF #AF3164
monochromatic
#164F1C #247F2C #31AF3D #4FCE5B #7FDB88

Accessibility & contrast

On white

2.86
#31AF3D on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.33
#31AF3D on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF3D
7.33:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF3D#FFFFFF#000000##000000
##31AF3D1.002.867.337.33
#FFFFFF2.861.0021.0021.00
#0000007.3321.001.001.00
##0000007.3321.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F2F
Deuteranopia (green-blind)
#A49547
Tritanopia (blue-blind)
#00AA97
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31af3d;
/* rgb */ color: rgb(49, 175, 61);
/* oklch */ color: oklch(66.3% 0.188 144.4);
Tailwind
colors: {
  custom: {
    50: '#7cc877',
    500: '#31af3d',
    950: '#000000',
  },
}
SCSS
$custom: #31af3d;
$custom-light: #7cc877;
$custom-dark: #000000;
JSON
{
  "hex": "#31af3d",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 61
  },
  "hsl": {
    "h": 125.714,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66274,
    "c": 0.18843,
    "h": 144.4
  },
  "luminance": 0.3165
}

Semantic roles & 50–950 ramp

primary
#31AF3D
secondary
#C478BD
accent
#48D1E0
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AF3D

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

Preview Lab → · Contrast checker → · Palette generator →

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