#31AF58#31AF58

#31AF58 is a light, vivid green. Relative luminance 0.320; OKLCH L 66.6% C 0.166 H 149.3°. Best body text is #000000 at 7.40:1 contrast (WCAG AA passes).

Color values

HEX#31AF58
RGBrgb(49, 175, 88)
HSLhsl(139, 56%, 44%)
HSVhsv(139, 72%, 69%)
CMYKcmyk(72%, 0%, 49.7%, 31.4%)
CIE-LABlab(63.36, -53.03, 34.82)
CIE-LCHlch(63.36, 63.44, 146.71°)
OKLaboklab(66.63% -0.1427 0.0846)
OKLCHoklch(66.63% 0.166 149.3)
XYZxyz(18.3566, 32.0154, 14.4428)
Luminance0.3202 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF58 #AF3188
analogous
#49AF31 #31AF58 #31AF97
triadic
#31AF58 #5831AF #AF5831
tetradic
#31AF58 #3149AF #AF3188 #AF9731
square
#31AF58 #3149AF #AF3188 #AF9731
split-complementary
#31AF58 #9731AF #AF3149
monochromatic
#164F28 #247F40 #31AF58 #4FCE77 #7FDB9C

Accessibility & contrast

On white

2.84
#31AF58 on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.40
#31AF58 on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF58
7.40:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF58#FFFFFF#000000##000000
##31AF581.002.847.407.40
#FFFFFF2.841.0021.0021.00
#0000007.4021.001.001.00
##0000007.4021.001.001.00

Color blindness preview

Protanopia (red-blind)
#B0A051
Deuteranopia (green-blind)
#A1955E
Tritanopia (blue-blind)
#00AC9B
Achromatopsia (no color)
#999999

Design tokens & code

CSS
--color: #31af58;
/* rgb */ color: rgb(49, 175, 88);
/* oklch */ color: oklch(66.6% 0.166 149.3);
Tailwind
colors: {
  custom: {
    50: '#7bc889',
    500: '#31af58',
    950: '#000000',
  },
}
SCSS
$custom: #31af58;
$custom-light: #7bc889;
$custom-dark: #000000;
JSON
{
  "hex": "#31af58",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 88
  },
  "hsl": {
    "h": 138.571,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66625,
    "c": 0.16592,
    "h": 149.3
  },
  "luminance": 0.32017
}

Semantic roles & 50–950 ramp

primary
#31AF58
secondary
#C478AC
accent
#48B1E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31AF58

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

Preview Lab → · Contrast checker → · Palette generator →

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