#31BA4C#31BA4C
#31BA4C is a light, vivid green. Relative luminance 0.363; OKLCH L 69.4% C 0.190 H 146.2°. Best body text is #000000 at 8.26:1 contrast (WCAG AA passes).
Color values
| HEX | #31BA4C |
|---|---|
| RGB | rgb(49, 186, 76) |
| HSL | hsl(132, 58%, 46%) |
| HSV | hsv(132, 74%, 73%) |
| CMYK | cmyk(73.7%, 0%, 59.1%, 27.1%) |
| CIE-LAB | lab(66.74, -58.61, 44.73) |
| CIE-LCH | lch(66.74, 73.73, 142.65°) |
| OKLab | oklab(69.38% -0.158 0.1057) |
| OKLCH | oklch(69.38% 0.19 146.2) |
| XYZ | xyz(20.1286, 36.2903, 12.7800) |
| Luminance | 0.3629 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock Green
#02C14D
ΔE00 2.16
Shamrock
#01B44C
ΔE00 2.49
Medium Green
#39AD48
ΔE00 3.67
Leafy Green
#51B73B
ΔE00 3.76
Cool Green
#33B864
ΔE00 4.03
Dark Pastel Green
#56AE57
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31BA4C #BA319F
analogous
#5ABA31 #31BA4C #31BA90
triadic
#31BA4C #4C31BA #BA4C31
tetradic
#31BA4C #315ABA #BA319F #BA9031
square
#31BA4C #315ABA #BA319F #BA9031
split-complementary
#31BA4C #9031BA #BA315A
monochromatic
#175924 #248A38 #31BA4C #56D26E #86DF98
Accessibility & contrast
On white
2.54
#31BA4C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.26
#31BA4C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31BA4C
8.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31BA4C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31BA4C | 1.00 | 2.54 | 8.26 | 8.26 |
| #FFFFFF | 2.54 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.26 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.26 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BDA941
Deuteranopia (green-blind)
#AD9E55
Tritanopia (blue-blind)
#00B6A2
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #31ba4c; /* rgb */ color: rgb(49, 186, 76); /* oklch */ color: oklch(69.4% 0.190 146.2);
Tailwind
colors: {
custom: {
50: '#7ed081',
500: '#31ba4c',
950: '#000000',
},
}SCSS
$custom: #31ba4c; $custom-light: #7ed081; $custom-dark: #000000;
JSON
{
"hex": "#31ba4c",
"rgb": {
"r": 49,
"g": 186,
"b": 76
},
"hsl": {
"h": 131.825,
"s": 58.298,
"l": 46.078
},
"oklch": {
"l": 0.6938,
"c": 0.19008,
"h": 146.2
},
"luminance": 0.36293
}Semantic roles & 50–950 ramp
primary
#31BA4C
secondary
#C97EBA
accent
#46C3E2
background
#F8FCF8
surface
#EFF9EF
border
#CAD2CA
text
#0B140B
muted
#7C827C