#31A45E#31A45E

#31A45E is a light, vivid green. Relative luminance 0.280; OKLCH L 63.8% C 0.146 H 152.4°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).

Color values

HEX#31A45E
RGBrgb(49, 164, 94)
HSLhsl(143, 54%, 42%)
HSVhsv(143, 70%, 64%)
CMYKcmyk(70.1%, 0%, 42.7%, 35.7%)
CIE-LABlab(59.90, -47.88, 27.29)
CIE-LCHlch(59.90, 55.11, 150.32°)
OKLaboklab(63.8% -0.1291 0.0675)
OKLCHoklch(63.8% 0.146 152.4)
XYZxyz(16.5610, 28.0102, 15.1212)
Luminance0.2801 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A45E #A43177
analogous
#3EA431 #31A45E #31A498
triadic
#31A45E #5E31A4 #A45E31
tetradic
#31A45E #313EA4 #A43177 #A49831
square
#31A45E #313EA4 #A43177 #A49831
split-complementary
#31A45E #9831A4 #A4313E
monochromatic
#154628 #237543 #31A45E #49C97B #79D79D

Accessibility & contrast

On white

3.18
#31A45E on #FFFFFF
AA ✗AA large ✓AAA ✗

On black

6.60
#31A45E on #000000
AA ✓AA large ✓AAA ✗

Best text color

#000000 on #31A45E
6.60:1 — WCAG AA (normal text) passes

Contrast matrix

fg \ bg##31A45E#FFFFFF#000000##000000
##31A45E1.003.186.606.60
#FFFFFF3.181.0021.0021.00
#0000006.6021.001.001.00
##0000006.6021.001.001.00

Color blindness preview

Protanopia (red-blind)
#A49659
Deuteranopia (green-blind)
#968C63
Tritanopia (blue-blind)
#00A293
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a45e;
/* rgb */ color: rgb(49, 164, 94);
/* oklch */ color: oklch(63.8% 0.146 152.4);
Tailwind
colors: {
  custom: {
    50: '#78c08c',
    500: '#31a45e',
    950: '#000000',
  },
}
SCSS
$custom: #31a45e;
$custom-light: #78c08c;
$custom-dark: #000000;
JSON
{
  "hex": "#31a45e",
  "rgb": {
    "r": 49,
    "g": 164,
    "b": 94
  },
  "hsl": {
    "h": 143.478,
    "s": 53.991,
    "l": 41.765
  },
  "oklch": {
    "l": 0.638,
    "c": 0.14569,
    "h": 152.4
  },
  "luminance": 0.28012
}

Semantic roles & 50–950 ramp

primary
#31A45E
secondary
#BF72A1
accent
#4AA4DD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D

Preview Lab

Preview with #31A45E

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

Preview Lab → · Contrast checker → · Palette generator →

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