#31AA4F#31AA4F

#31AA4F is a light, vivid green. Relative luminance 0.300; OKLCH L 65.2% C 0.168 H 147.7°. Best body text is #000000 at 6.99:1 contrast (WCAG AA passes).

Color values

HEX#31AA4F
RGBrgb(49, 170, 79)
HSLhsl(135, 55%, 43%)
HSVhsv(135, 71%, 67%)
CMYKcmyk(71.2%, 0%, 53.5%, 33.3%)
CIE-LABlab(61.62, -52.59, 37.20)
CIE-LCHlch(61.62, 64.42, 144.72°)
OKLaboklab(65.16% -0.1416 0.0894)
OKLCHoklch(65.16% 0.168 147.7)
XYZxyz(17.0514, 29.9650, 12.2808)
Luminance0.2997 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31AA4F #AA318C
analogous
#4FAA31 #31AA4F #31AA8B
triadic
#31AA4F #4F31AA #AA4F31
tetradic
#31AA4F #314FAA #AA318C #AA8B31
square
#31AA4F #314FAA #AA318C #AA8B31
split-complementary
#31AA4F #8B31AA #AA314F
monochromatic
#164B23 #237A39 #31AA4F #4DCC6C #7CD993

Accessibility & contrast

On white

3.00
#31AA4F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.99
#31AA4F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31AA4F
6.99:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31AA4F#FFFFFF#000000##000000
##31AA4F1.003.006.996.99
#FFFFFF3.001.0021.0021.00
#0000006.9921.001.001.00
##0000006.9921.001.001.00

Color blindness preview

Protanopia (red-blind)
#AC9B47
Deuteranopia (green-blind)
#9D9156
Tritanopia (blue-blind)
#00A695
Achromatopsia (no color)
#959595

Design tokens & code

CSS
--color: #31aa4f;
/* rgb */ color: rgb(49, 170, 79);
/* oklch */ color: oklch(65.2% 0.168 147.7);
Tailwind
colors: {
  custom: {
    50: '#7ac482',
    500: '#31aa4f',
    950: '#000000',
  },
}
SCSS
$custom: #31aa4f;
$custom-light: #7ac482;
$custom-dark: #000000;
JSON
{
  "hex": "#31aa4f",
  "rgb": {
    "r": 49,
    "g": 170,
    "b": 79
  },
  "hsl": {
    "h": 134.876,
    "s": 55.251,
    "l": 42.941
  },
  "oklch": {
    "l": 0.65155,
    "c": 0.16752,
    "h": 147.7
  },
  "luminance": 0.29967
}

Semantic roles & 50–950 ramp

primary
#31AA4F
secondary
#C275AF
accent
#49BADF
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #31AA4F

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

Preview Lab → · Contrast checker → · Palette generator →

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