#31A94F#31A94F

#31A94F is a light, vivid green. Relative luminance 0.296; OKLCH L 64.9% C 0.166 H 147.8°. Best body text is #000000 at 6.92:1 contrast (WCAG AA passes).

Color values

HEX#31A94F
RGBrgb(49, 169, 79)
HSLhsl(135, 55%, 43%)
HSVhsv(135, 71%, 66%)
CMYKcmyk(71%, 0%, 53.3%, 33.7%)
CIE-LABlab(61.30, -52.23, 36.81)
CIE-LCHlch(61.30, 63.89, 144.83°)
OKLaboklab(64.89% -0.1407 0.0886)
OKLCHoklch(64.89% 0.166 147.8)
XYZxyz(16.8646, 29.5915, 12.2186)
Luminance0.2959 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A94F #A9318B
analogous
#4FA931 #31A94F #31A98B
triadic
#31A94F #4F31A9 #A94F31
tetradic
#31A94F #314FA9 #A9318B #A98B31
square
#31A94F #314FA9 #A9318B #A98B31
split-complementary
#31A94F #8B31A9 #A9314F
monochromatic
#154A23 #237A39 #31A94F #4CCB6C #7CD993

Accessibility & contrast

On white

3.04
#31A94F on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.92
#31A94F on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A94F
6.92:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A94F#FFFFFF#000000##000000
##31A94F1.003.046.926.92
#FFFFFF3.041.0021.0021.00
#0000006.9221.001.001.00
##0000006.9221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB9A47
Deuteranopia (green-blind)
#9D9056
Tritanopia (blue-blind)
#00A594
Achromatopsia (no color)
#949494

Design tokens & code

CSS
--color: #31a94f;
/* rgb */ color: rgb(49, 169, 79);
/* oklch */ color: oklch(64.9% 0.166 147.8);
Tailwind
colors: {
  custom: {
    50: '#7ac482',
    500: '#31a94f',
    950: '#000000',
  },
}
SCSS
$custom: #31a94f;
$custom-light: #7ac482;
$custom-dark: #000000;
JSON
{
  "hex": "#31a94f",
  "rgb": {
    "r": 49,
    "g": 169,
    "b": 79
  },
  "hsl": {
    "h": 135,
    "s": 55.046,
    "l": 42.745
  },
  "oklch": {
    "l": 0.64887,
    "c": 0.16623,
    "h": 147.8
  },
  "luminance": 0.29593
}

Semantic roles & 50–950 ramp

primary
#31A94F
secondary
#C174AE
accent
#49B9DE
background
#F8FCF8
surface
#EFF8EF
border
#CAD1CA
text
#0A130B
muted
#7C827C

Preview Lab

Preview with #31A94F

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

Preview Lab → · Contrast checker → · Palette generator →

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