#31A442#31A442

#31A442 is a light, vivid green. Relative luminance 0.276; OKLCH L 63.4% C 0.171 H 145.5°. Best body text is #000000 at 6.52:1 contrast (WCAG AA passes).

Color values

HEX#31A442
RGBrgb(49, 164, 66)
HSLhsl(129, 54%, 42%)
HSVhsv(129, 70%, 64%)
CMYKcmyk(70.1%, 0%, 59.8%, 35.7%)
CIE-LABlab(59.52, -52.21, 41.00)
CIE-LCHlch(59.52, 66.39, 141.85°)
OKLaboklab(63.37% -0.141 0.0968)
OKLCHoklch(63.37% 0.171 145.5)
XYZxyz(15.5244, 27.5955, 9.6615)
Luminance0.2760 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A442 #A43193
analogous
#59A431 #31A442 #31A47C
triadic
#31A442 #4231A4 #A44231
tetradic
#31A442 #3159A4 #A43193 #A47C31
square
#31A442 #3159A4 #A43193 #A47C31
split-complementary
#31A442 #7C31A4 #A43159
monochromatic
#15461C #23752F #31A442 #49C95C #79D787

Accessibility & contrast

On white

3.22
#31A442 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.52
#31A442 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A442
6.52:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A442#FFFFFF#000000##000000
##31A4421.003.226.526.52
#FFFFFF3.221.0021.0021.00
#0000006.5221.001.001.00
##0000006.5221.001.001.00

Color blindness preview

Protanopia (red-blind)
#A79538
Deuteranopia (green-blind)
#998C4A
Tritanopia (blue-blind)
#01A08F
Achromatopsia (no color)
#8F8F8F

Design tokens & code

CSS
--color: #31a442;
/* rgb */ color: rgb(49, 164, 66);
/* oklch */ color: oklch(63.4% 0.171 145.5);
Tailwind
colors: {
  custom: {
    50: '#79c07a',
    500: '#31a442',
    950: '#000000',
  },
}
SCSS
$custom: #31a442;
$custom-light: #79c07a;
$custom-dark: #000000;
JSON
{
  "hex": "#31a442",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 66
  },
  "hsl": {
    "h": 128.87,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.63366,
    "c": 0.17104,
    "h": 145.5
  },
  "luminance": 0.27597
}

Semantic roles & 50–950 ramp

primary
#31A442
secondary
#BF72B4
accent
#4AC8DD
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #31A442

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

Preview Lab → · Contrast checker → · Palette generator →

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