#31A546#31A546

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

Color values

HEX#31A546
RGBrgb(49, 165, 70)
HSLhsl(131, 54%, 42%)
HSVhsv(131, 70%, 65%)
CMYKcmyk(70.3%, 0%, 57.6%, 35.3%)
CIE-LABlab(59.89, -52.05, 39.53)
CIE-LCHlch(59.89, 65.36, 142.78°)
OKLaboklab(63.69% -0.1404 0.0939)
OKLCHoklch(63.69% 0.169 146.2)
XYZxyz(15.8261, 28.0037, 10.3644)
Luminance0.2801 (WCAG relative)
Temperatureneutral
Familygreen

Closest named colors

Perceptual scales

Shades

Tints

Tones

OKLCH scale

Color harmonies

complementary
#31A546 #A53190
analogous
#56A531 #31A546 #31A580
triadic
#31A546 #4631A5 #A54631
tetradic
#31A546 #3156A5 #A53190 #A58031
square
#31A546 #3156A5 #A53190 #A58031
split-complementary
#31A546 #8031A5 #A53156
monochromatic
#15471E #237632 #31A546 #4AC961 #79D78A

Accessibility & contrast

On white

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

On black

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

Best text color

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

Contrast matrix

fg \ bg##31A546#FFFFFF#000000##000000
##31A5461.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)
#A7963D
Deuteranopia (green-blind)
#9A8D4D
Tritanopia (blue-blind)
#00A190
Achromatopsia (no color)
#909090

Design tokens & code

CSS
--color: #31a546;
/* rgb */ color: rgb(49, 165, 70);
/* oklch */ color: oklch(63.7% 0.169 146.2);
Tailwind
colors: {
  custom: {
    50: '#79c17c',
    500: '#31a546',
    950: '#000000',
  },
}
SCSS
$custom: #31a546;
$custom-light: #79c17c;
$custom-dark: #000000;
JSON
{
  "hex": "#31a546",
  "rgb": {
    "r": 49,
    "g": 165,
    "b": 70
  },
  "hsl": {
    "h": 130.862,
    "s": 54.206,
    "l": 41.961
  },
  "oklch": {
    "l": 0.63687,
    "c": 0.16895,
    "h": 146.2
  },
  "luminance": 0.28005
}

Semantic roles & 50–950 ramp

primary
#31A546
secondary
#C072B2
accent
#4AC3DE
background
#F7FCF7
surface
#EEF8EE
border
#C9D1C9
text
#0A120A
muted
#7C817C

Preview Lab

Preview with #31A546

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

Preview Lab → · Contrast checker → · Palette generator →

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