#31AC4F#31AC4F

#31AC4F is a light, vivid green. Relative luminance 0.307; OKLCH L 65.7% C 0.170 H 147.6°. Best body text is #000000 at 7.14:1 contrast (WCAG AA passes).

Color values

HEX#31AC4F
RGBrgb(49, 172, 79)
HSLhsl(135, 56%, 43%)
HSVhsv(135, 72%, 67%)
CMYKcmyk(71.5%, 0%, 54.1%, 32.5%)
CIE-LABlab(62.27, -53.31, 37.99)
CIE-LCHlch(62.27, 65.46, 144.53°)
OKLaboklab(65.69% -0.1436 0.0912)
OKLCHoklch(65.69% 0.17 147.6)
XYZxyz(17.4291, 30.7206, 12.4067)
Luminance0.3072 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC4F #AC318E
analogous
#50AC31 #31AC4F #31AC8C
triadic
#31AC4F #4F31AC #AC4F31
tetradic
#31AC4F #3150AC #AC318E #AC8C31
square
#31AC4F #3150AC #AC318E #AC8C31
split-complementary
#31AC4F #8C31AC #AC3150
monochromatic
#164D23 #237C39 #31AC4F #4ECC6D #7DDA94

Accessibility & contrast

On white

2.94
#31AC4F on #FFFFFF
AA ✗AA large ✗AAA ✗

On black

7.14
#31AC4F on #000000
AA ✓AA large ✓AAA ✓

Best text color

#000000 on #31AC4F
7.14:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AC4F#FFFFFF#000000##000000
##31AC4F1.002.947.147.14
#FFFFFF2.941.0021.0021.00
#0000007.1421.001.001.00
##0000007.1421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AE9D47
Deuteranopia (green-blind)
#9F9356
Tritanopia (blue-blind)
#00A897
Achromatopsia (no color)
#979797

Design tokens & code

CSS
--color: #31ac4f;
/* rgb */ color: rgb(49, 172, 79);
/* oklch */ color: oklch(65.7% 0.170 147.6);
Tailwind
colors: {
  custom: {
    50: '#7ac682',
    500: '#31ac4f',
    950: '#000000',
  },
}
SCSS
$custom: #31ac4f;
$custom-light: #7ac682;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac4f",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 79
  },
  "hsl": {
    "h": 134.634,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.6569,
    "c": 0.17009,
    "h": 147.6
  },
  "luminance": 0.30723
}

Semantic roles & 50–950 ramp

primary
#31AC4F
secondary
#C376B0
accent
#49BADF
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130B
muted
#7C827C

Preview Lab

Preview with #31AC4F

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

Preview Lab → · Contrast checker → · Palette generator →

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