#31AF6C#31AF6C

#31AF6C is a light, vivid green. Relative luminance 0.324; OKLCH L 67.0% C 0.147 H 155.1°. Best body text is #000000 at 7.48:1 contrast (WCAG AA passes).

Color values

HEX#31AF6C
RGBrgb(49, 175, 108)
HSLhsl(148, 56%, 44%)
HSVhsv(148, 72%, 69%)
CMYKcmyk(72%, 0%, 38.3%, 31.4%)
CIE-LABlab(63.67, -49.50, 24.78)
CIE-LCHlch(63.67, 55.35, 153.41°)
OKLaboklab(66.98% -0.1337 0.0619)
OKLCHoklch(66.98% 0.147 155.1)
XYZxyz(19.3016, 32.3934, 19.4198)
Luminance0.3240 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AF6C #AF3174
analogous
#35AF31 #31AF6C #31AFAB
triadic
#31AF6C #6C31AF #AF6C31
tetradic
#31AF6C #3135AF #AF3174 #AFAB31
square
#31AF6C #3135AF #AF3174 #AFAB31
split-complementary
#31AF6C #AB31AF #AF3135
monochromatic
#164F31 #247F4E #31AF6C #4FCE8B #7FDBAA

Accessibility & contrast

On white

2.81
#31AF6C on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.48
#31AF6C on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AF6C
7.48:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AF6C#FFFFFF#000000##000000
##31AF6C1.002.817.487.48
#FFFFFF2.811.0021.0021.00
#0000007.4821.001.001.00
##0000007.4821.001.001.00

Color blindness preview

Protanopia (red-blind)
#AEA167
Deuteranopia (green-blind)
#9F9670
Tritanopia (blue-blind)
#00AD9E
Achromatopsia (no color)
#9A9A9A

Design tokens & code

CSS
--color: #31af6c;
/* rgb */ color: rgb(49, 175, 108);
/* oklch */ color: oklch(67.0% 0.147 155.1);
Tailwind
colors: {
  custom: {
    50: '#7ac896',
    500: '#31af6c',
    950: '#000000',
  },
}
SCSS
$custom: #31af6c;
$custom-light: #7ac896;
$custom-dark: #000000;
JSON
{
  "hex": "#31af6c",
  "rgb": {
    "r": 49,
    "g": 175,
    "b": 108
  },
  "hsl": {
    "h": 148.095,
    "s": 56.25,
    "l": 43.922
  },
  "oklch": {
    "l": 0.66983,
    "c": 0.14735,
    "h": 155.1
  },
  "luminance": 0.32396
}

Semantic roles & 50–950 ramp

primary
#31AF6C
secondary
#C478A0
accent
#4899E0
background
#F8FCF9
surface
#EFF8F2
border
#CAD1CC
text
#0B130D
muted
#7C827E

Preview Lab

Preview with #31AF6C

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

Preview Lab → · Contrast checker → · Palette generator →

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