#31A142#31A142

#31A142 is a light, vivid green. Relative luminance 0.265; OKLCH L 62.6% C 0.167 H 145.7°. Best body text is #000000 at 6.31:1 contrast (WCAG AA passes).

Color values

HEX#31A142
RGBrgb(49, 161, 66)
HSLhsl(129, 53%, 41%)
HSVhsv(129, 70%, 63%)
CMYKcmyk(69.6%, 0%, 59%, 36.9%)
CIE-LABlab(58.54, -51.13, 39.86)
CIE-LCHlch(58.54, 64.83, 142.06°)
OKLaboklab(62.56% -0.1381 0.0943)
OKLCHoklch(62.56% 0.167 145.7)
XYZxyz(14.9938, 26.5344, 9.4847)
Luminance0.2654 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A142 #A13190
analogous
#58A131 #31A142 #31A17A
triadic
#31A142 #4231A1 #A14231
tetradic
#31A142 #3158A1 #A13190 #A17A31
square
#31A142 #3158A1 #A13190 #A17A31
split-complementary
#31A142 #7A31A1 #A13158
monochromatic
#14431C #23722F #31A142 #48C75B #77D685

Accessibility & contrast

On white

3.33
#31A142 on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.31
#31A142 on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A142
6.31:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A142#FFFFFF#000000##000000
##31A1421.003.336.316.31
#FFFFFF3.331.0021.0021.00
#0000006.3121.001.001.00
##0000006.3121.001.001.00

Color blindness preview

Protanopia (red-blind)
#A39238
Deuteranopia (green-blind)
#96894A
Tritanopia (blue-blind)
#059D8C
Achromatopsia (no color)
#8D8D8D

Design tokens & code

CSS
--color: #31a142;
/* rgb */ color: rgb(49, 161, 66);
/* oklch */ color: oklch(62.6% 0.167 145.7);
Tailwind
colors: {
  custom: {
    50: '#78be79',
    500: '#31a142',
    950: '#000000',
  },
}
SCSS
$custom: #31a142;
$custom-light: #78be79;
$custom-dark: #000000;
JSON
{
  "hex": "#31a142",
  "rgb": {
    "r": 49,
    "g": 161,
    "b": 66
  },
  "hsl": {
    "h": 129.107,
    "s": 53.333,
    "l": 41.176
  },
  "oklch": {
    "l": 0.62555,
    "c": 0.16723,
    "h": 145.7
  },
  "luminance": 0.26536
}

Semantic roles & 50–950 ramp

primary
#31A142
secondary
#BE70B2
accent
#4BC7DD
background
#F7FBF7
surface
#EEF7EE
border
#C9D0C9
text
#0A1209
muted
#7C817B

Preview Lab

Preview with #31A142

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

Preview Lab → · Contrast checker → · Palette generator →

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