#31B560#31B560
#31B560 is a light, vivid green. Relative luminance 0.345; OKLCH L 68.3% C 0.166 H 150.7°. Best body text is #000000 at 7.91:1 contrast (WCAG AA passes).
Color values
| HEX | #31B560 |
|---|---|
| RGB | rgb(49, 181, 96) |
| HSL | hsl(141, 57%, 45%) |
| HSV | hsv(141, 73%, 71%) |
| CMYK | cmyk(72.9%, 0%, 47%, 29%) |
| CIE-LAB | lab(65.39, -53.92, 33.31) |
| CIE-LCH | lch(65.39, 63.38, 148.30°) |
| OKLab | oklab(68.34% -0.1451 0.0815) |
| OKLCH | oklch(68.34% 0.166 150.7) |
| XYZ | xyz(19.9002, 34.5430, 16.6827) |
| Luminance | 0.3454 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Cool Green
#33B864
ΔE00 0.91
Shamrock
#01B44C
ΔE00 3.02
Jade Green
#2BAF6A
ΔE00 3.29
Mediumseagreen
#3CB371
ΔE00 3.46
Dark Mint
#48C072
ΔE00 3.69
Dark Mint Green
#20C073
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31B560 #B53186
analogous
#44B531 #31B560 #31B5A2
triadic
#31B560 #6031B5 #B56031
tetradic
#31B560 #3144B5 #B53186 #B5A231
square
#31B560 #3144B5 #B53186 #B5A231
split-complementary
#31B560 #A231B5 #B53144
monochromatic
#17552D #248546 #31B560 #53D080 #83DDA3
Accessibility & contrast
On white
2.66
#31B560 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.91
#31B560 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31B560
7.91:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31B560 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31B560 | 1.00 | 2.66 | 7.91 | 7.91 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.91 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.91 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B6A559
Deuteranopia (green-blind)
#A69A66
Tritanopia (blue-blind)
#00B2A1
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #31b560; /* rgb */ color: rgb(49, 181, 96); /* oklch */ color: oklch(68.3% 0.166 150.7);
Tailwind
colors: {
custom: {
50: '#7ccc8e',
500: '#31b560',
950: '#000000',
},
}SCSS
$custom: #31b560; $custom-light: #7ccc8e; $custom-dark: #000000;
JSON
{
"hex": "#31b560",
"rgb": {
"r": 49,
"g": 181,
"b": 96
},
"hsl": {
"h": 141.364,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.68344,
"c": 0.16641,
"h": 150.7
},
"luminance": 0.34545
}Semantic roles & 50–950 ramp
primary
#31B560
secondary
#C77BAC
accent
#47AAE1
background
#F8FCF8
surface
#EFF9F0
border
#CAD2CB
text
#0B130C
muted
#7C827D