#31A45C#31A45C
#31A45C is a light, vivid green. Relative luminance 0.280; OKLCH L 63.8% C 0.148 H 151.7°. Best body text is #000000 at 6.60:1 contrast (WCAG AA passes).
Color values
| HEX | #31A45C |
|---|---|
| RGB | rgb(49, 164, 92) |
| HSL | hsl(142, 54%, 42%) |
| HSV | hsv(142, 70%, 64%) |
| CMYK | cmyk(70.1%, 0%, 43.9%, 35.7%) |
| CIE-LAB | lab(59.87, -48.24, 28.31) |
| CIE-LCH | lch(59.87, 55.93, 149.59°) |
| OKLab | oklab(63.76% -0.13 0.0699) |
| OKLCH | oklch(63.76% 0.148 151.7) |
| XYZ | xyz(16.4725, 27.9748, 14.6547) |
| Luminance | 0.2798 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Greenish
#40A368
ΔE00 2.66
Seaweed Green
#35AD6B
ΔE00 3.23
Emerald (survey)
#01A049
ΔE00 3.35
Jade Green
#2BAF6A
ΔE00 3.56
Algae
#54AC68
ΔE00 3.94
Teal Green
#25A36F
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31A45C #A43179
analogous
#3FA431 #31A45C #31A496
triadic
#31A45C #5C31A4 #A45C31
tetradic
#31A45C #313FA4 #A43179 #A49631
square
#31A45C #313FA4 #A43179 #A49631
split-complementary
#31A45C #9631A4 #A4313F
monochromatic
#154627 #237542 #31A45C #49C979 #79D79C
Accessibility & contrast
On white
3.18
#31A45C on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.60
#31A45C on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #31A45C
6.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31A45C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31A45C | 1.00 | 3.18 | 6.60 | 6.60 |
| #FFFFFF | 3.18 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A49657
Deuteranopia (green-blind)
#968C61
Tritanopia (blue-blind)
#00A292
Achromatopsia (no color)
#909090
Design tokens & code
CSS
--color: #31a45c; /* rgb */ color: rgb(49, 164, 92); /* oklch */ color: oklch(63.8% 0.148 151.7);
Tailwind
colors: {
custom: {
50: '#78c08b',
500: '#31a45c',
950: '#000000',
},
}SCSS
$custom: #31a45c; $custom-light: #78c08b; $custom-dark: #000000;
JSON
{
"hex": "#31a45c",
"rgb": {
"r": 49,
"g": 164,
"b": 92
},
"hsl": {
"h": 142.435,
"s": 53.991,
"l": 41.765
},
"oklch": {
"l": 0.63763,
"c": 0.14759,
"h": 151.7
},
"luminance": 0.27977
}Semantic roles & 50–950 ramp
primary
#31A45C
secondary
#BF72A2
accent
#4AA6DD
background
#F7FBF8
surface
#EEF7F0
border
#C9D0CB
text
#0A120C
muted
#7C817D