#31A53C#31A53C
#31A53C is a light, vivid green. Relative luminance 0.279; OKLCH L 63.6% C 0.177 H 144.5°. Best body text is #000000 at 6.58:1 contrast (WCAG AA passes).
Color values
| HEX | #31A53C |
|---|---|
| RGB | rgb(49, 165, 60) |
| HSL | hsl(126, 54%, 42%) |
| HSV | hsv(126, 70%, 65%) |
| CMYK | cmyk(70.3%, 0%, 63.6%, 35.3%) |
| CIE-LAB | lab(59.79, -53.28, 44.07) |
| CIE-LCH | lch(59.79, 69.15, 140.41°) |
| OKLab | oklab(63.57% -0.1441 0.1029) |
| OKLCH | oklch(63.57% 0.177 144.5) |
| XYZ | xyz(15.5364, 27.8878, 8.8382) |
| Luminance | 0.2789 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Medium Green
#39AD48
ΔE00 2.62
Kelly Green (survey)
#02AB2E
ΔE00 2.73
Mid Green
#50A747
ΔE00 2.78
Emerald (survey)
#01A049
ΔE00 3.97
Dark Pastel Green
#56AE57
ΔE00 4.77
Shamrock
#01B44C
ΔE00 4.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31A53C #A5319A
analogous
#60A531 #31A53C #31A576
triadic
#31A53C #3C31A5 #A53C31
tetradic
#31A53C #3160A5 #A5319A #A57631
square
#31A53C #3160A5 #A5319A #A57631
split-complementary
#31A53C #7631A5 #A53160
monochromatic
#15471A #23762B #31A53C #4AC956 #79D782
Accessibility & contrast
On white
3.19
#31A53C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.58
#31A53C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31A53C
6.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31A53C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31A53C | 1.00 | 3.19 | 6.58 | 6.58 |
| #FFFFFF | 3.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.58 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.58 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A89630
Deuteranopia (green-blind)
#9A8C45
Tritanopia (blue-blind)
#05A18F
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #31a53c; /* rgb */ color: rgb(49, 165, 60); /* oklch */ color: oklch(63.6% 0.177 144.5);
Tailwind
colors: {
custom: {
50: '#7ac176',
500: '#31a53c',
950: '#000000',
},
}SCSS
$custom: #31a53c; $custom-light: #7ac176; $custom-dark: #000000;
JSON
{
"hex": "#31a53c",
"rgb": {
"r": 49,
"g": 165,
"b": 60
},
"hsl": {
"h": 125.69,
"s": 54.206,
"l": 41.961
},
"oklch": {
"l": 0.63567,
"c": 0.17708,
"h": 144.5
},
"luminance": 0.27889
}Semantic roles & 50–950 ramp
primary
#31A53C
secondary
#C072B8
accent
#4AD0DE
background
#F8FCF7
surface
#EFF8ED
border
#CAD1C8
text
#0A1209
muted
#7C817B