#31AF41#31AF41

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

Color values

HEX#31AF41
RGBrgb(49, 175, 65)
HSLhsl(128, 56%, 44%)
HSVhsv(128, 72%, 69%)
CMYKcmyk(72%, 0%, 62.9%, 31.4%)
CIE-LABlab(63.09, -56.18, 45.55)
CIE-LCHlch(63.09, 72.32, 140.97°)
OKLaboklab(66.32% -0.1518 0.1065)
OKLCHoklch(66.32% 0.185 144.9)
XYZxyz(17.5495, 31.6926, 10.1924)
Luminance0.3170 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF41 #AF319F
analogous
#60AF31 #31AF41 #31AF80
triadic
#31AF41 #4131AF #AF4131
tetradic
#31AF41 #3160AF #AF319F #AF8031
square
#31AF41 #3160AF #AF319F #AF8031
split-complementary
#31AF41 #8031AF #AF3160
monochromatic
#164F1D #247F2F #31AF41 #4FCE5F #7FDB8B

Accessibility & contrast

On white

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

On black

7.34
#31AF41 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF41
7.34:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF41#FFFFFF#000000##000000
##31AF411.002.867.347.34
#FFFFFF2.861.0021.0021.00
#0000007.3421.001.001.00
##0000007.3421.001.001.00

Color blindness preview

Protanopia (red-blind)
#B29F34
Deuteranopia (green-blind)
#A3954A
Tritanopia (blue-blind)
#00AA98
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31af41;
/* rgb */ color: rgb(49, 175, 65);
/* oklch */ color: oklch(66.3% 0.185 144.9);
Tailwind
colors: {
  custom: {
    50: '#7cc87a',
    500: '#31af41',
    950: '#000000',
  },
}
SCSS
$custom: #31af41;
$custom-light: #7cc87a;
$custom-dark: #000000;
JSON
{
  "hex": "#31af41",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 65
  },
  "hsl": {
    "h": 127.619,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66317,
    "c": 0.18542,
    "h": 144.9
  },
  "luminance": 0.31695
}

Semantic roles & 50–950 ramp

primary
#31AF41
secondary
#C478BA
accent
#48CCE0
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0B1309
muted
#7C827B

Preview Lab

Preview with #31AF41

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

Preview Lab → · Contrast checker → · Palette generator →

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