#31A845#31A845

#31A845 is a light, vivid green. Relative luminance 0.291; OKLCH L 64.5% C 0.174 H 145.9°. Best body text is #000000 at 6.82:1 contrast (WCAG AA passes).

Color values

HEX#31A845
RGBrgb(49, 168, 69)
HSLhsl(130, 55%, 43%)
HSVhsv(130, 71%, 66%)
CMYKcmyk(70.8%, 0%, 58.9%, 34.1%)
CIE-LABlab(60.86, -53.25, 41.14)
CIE-LCHlch(60.86, 67.29, 142.31°)
OKLaboklab(64.48% -0.1437 0.0974)
OKLCHoklch(64.48% 0.174 145.9)
XYZxyz(16.3423, 29.0861, 10.3820)
Luminance0.2909 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A845 #A83194
analogous
#58A831 #31A845 #31A880
triadic
#31A845 #4531A8 #A84531
tetradic
#31A845 #3158A8 #A83194 #A88031
square
#31A845 #3158A8 #A83194 #A88031
split-complementary
#31A845 #8031A8 #A83158
monochromatic
#15491E #237932 #31A845 #4CCB61 #7BD88B

Accessibility & contrast

On white

3.08
#31A845 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.82
#31A845 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A845
6.82:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A845#FFFFFF#000000##000000
##31A8451.003.086.826.82
#FFFFFF3.081.0021.0021.00
#0000006.8221.001.001.00
##0000006.8221.001.001.00

Color blindness preview

Protanopia (red-blind)
#AB993B
Deuteranopia (green-blind)
#9C8F4D
Tritanopia (blue-blind)
#00A492
Achromatopsia (no color)
#939393

Design tokens & code

CSS
--color: #31a845;
/* rgb */ color: rgb(49, 168, 69);
/* oklch */ color: oklch(64.5% 0.174 145.9);
Tailwind
colors: {
  custom: {
    50: '#7ac37c',
    500: '#31a845',
    950: '#000000',
  },
}
SCSS
$custom: #31a845;
$custom-light: #7ac37c;
$custom-dark: #000000;
JSON
{
  "hex": "#31a845",
  "rgb": {
    "r": 49,
    "g": 168,
    "b": 69
  },
  "hsl": {
    "h": 130.084,
    "s": 54.839,
    "l": 42.549
  },
  "oklch": {
    "l": 0.64483,
    "c": 0.17359,
    "h": 145.9
  },
  "luminance": 0.29088
}

Semantic roles & 50–950 ramp

primary
#31A845
secondary
#C174B4
accent
#4AC5DE
background
#F8FCF7
surface
#EFF8EE
border
#CAD1C9
text
#0A130A
muted
#7C827C

Preview Lab

Preview with #31A845

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

Preview Lab → · Contrast checker → · Palette generator →

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