#31A84F#31A84F

#31A84F is a light, vivid green. Relative luminance 0.292; OKLCH L 64.6% C 0.165 H 147.9°. Best body text is #000000 at 6.84:1 contrast (WCAG AA passes).

Color values

HEX#31A84F
RGBrgb(49, 168, 79)
HSLhsl(135, 55%, 43%)
HSVhsv(135, 71%, 66%)
CMYKcmyk(70.8%, 0%, 53%, 34.1%)
CIE-LABlab(60.98, -51.86, 36.41)
CIE-LCHlch(60.98, 63.37, 144.93°)
OKLaboklab(64.62% -0.1397 0.0877)
OKLCHoklch(64.62% 0.165 147.9)
XYZxyz(16.6793, 29.2209, 12.1568)
Luminance0.2922 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A84F #A8318A
analogous
#4EA831 #31A84F #31A88A
triadic
#31A84F #4F31A8 #A84F31
tetradic
#31A84F #314EA8 #A8318A #A88A31
square
#31A84F #314EA8 #A8318A #A88A31
split-complementary
#31A84F #8A31A8 #A8314E
monochromatic
#154922 #237939 #31A84F #4CCB6C #7BD893

Accessibility & contrast

On white

3.07
#31A84F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.84
#31A84F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A84F
6.84:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A84F#FFFFFF#000000##000000
##31A84F1.003.076.846.84
#FFFFFF3.071.0021.0021.00
#0000006.8421.001.001.00
##0000006.8421.001.001.00

Color blindness preview

Protanopia (red-blind)
#AA9947
Deuteranopia (green-blind)
#9C8F56
Tritanopia (blue-blind)
#00A494
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a84f;
/* rgb */ color: rgb(49, 168, 79);
/* oklch */ color: oklch(64.6% 0.165 147.9);
Tailwind
colors: {
  custom: {
    50: '#7ac382',
    500: '#31a84f',
    950: '#000000',
  },
}
SCSS
$custom: #31a84f;
$custom-light: #7ac382;
$custom-dark: #000000;
JSON
{
  "hex": "#31a84f",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 79
  },
  "hsl": {
    "h": 135.126,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64619,
    "c": 0.16494,
    "h": 147.9
  },
  "luminance": 0.29223
}

Semantic roles & 50–950 ramp

primary
#31A84F
secondary
#C174AE
accent
#4AB9DE
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #31A84F

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

Preview Lab → · Contrast checker → · Palette generator →

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