#31AC4E#31AC4E

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

Color values

HEX#31AC4E
RGBrgb(49, 172, 78)
HSLhsl(134, 56%, 43%)
HSVhsv(134, 72%, 67%)
CMYKcmyk(71.5%, 0%, 54.7%, 32.5%)
CIE-LABlab(62.26, -53.45, 38.47)
CIE-LCHlch(62.26, 65.86, 144.26°)
OKLaboklab(65.68% -0.144 0.0922)
OKLCHoklch(65.68% 0.171 147.4)
XYZxyz(17.3930, 30.7061, 12.2165)
Luminance0.3071 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AC4E #AC318F
analogous
#52AC31 #31AC4E #31AC8B
triadic
#31AC4E #4E31AC #AC4E31
tetradic
#31AC4E #3152AC #AC318F #AC8B31
square
#31AC4E #3152AC #AC318F #AC8B31
split-complementary
#31AC4E #8B31AC #AC3152
monochromatic
#164D23 #237C38 #31AC4E #4ECC6C #7DDA93

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31AC4E#FFFFFF#000000##000000
##31AC4E1.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)
#AE9D45
Deuteranopia (green-blind)
#9F9355
Tritanopia (blue-blind)
#00A897
Achromatopsia (no color)
#969696

Design tokens & code

CSS
--color: #31ac4e;
/* rgb */ color: rgb(49, 172, 78);
/* oklch */ color: oklch(65.7% 0.171 147.4);
Tailwind
colors: {
  custom: {
    50: '#7ac682',
    500: '#31ac4e',
    950: '#000000',
  },
}
SCSS
$custom: #31ac4e;
$custom-light: #7ac682;
$custom-dark: #000000;
JSON
{
  "hex": "#31ac4e",
  "rgb": {
    "r": 49,
    "g": 172,
    "b": 78
  },
  "hsl": {
    "h": 134.146,
    "s": 55.656,
    "l": 43.333
  },
  "oklch": {
    "l": 0.65676,
    "c": 0.17097,
    "h": 147.4
  },
  "luminance": 0.30708
}

Semantic roles & 50–950 ramp

primary
#31AC4E
secondary
#C376B1
accent
#49BCDF
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0B130A
muted
#7C827C

Preview Lab

Preview with #31AC4E

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

Preview Lab → · Contrast checker → · Palette generator →

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