#31B258#31B258
#31B258 is a light, vivid green. Relative luminance 0.332; OKLCH L 67.4% C 0.170 H 149.1°. Best body text is #000000 at 7.64:1 contrast (WCAG AA passes).
Color values
| HEX | #31B258 |
|---|---|
| RGB | rgb(49, 178, 88) |
| HSL | hsl(138, 57%, 45%) |
| HSV | hsv(138, 72%, 70%) |
| CMYK | cmyk(72.5%, 0%, 50.6%, 30.2%) |
| CIE-LAB | lab(64.32, -54.12, 36.02) |
| CIE-LCH | lch(64.32, 65.01, 146.35°) |
| OKLab | oklab(67.42% -0.1456 0.0873) |
| OKLCH | oklch(67.42% 0.17 149.1) |
| XYZ | xyz(18.9470, 33.1962, 14.6396) |
| Luminance | 0.3320 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Shamrock
#01B44C
ΔE00 2.18
Cool Green
#33B864
ΔE00 2.18
Medium Green
#39AD48
ΔE00 2.71
Dark Pastel Green
#56AE57
ΔE00 3.34
Jade Green
#2BAF6A
ΔE00 3.95
Algae
#54AC68
ΔE00 4.35
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31B258 #B2318B
analogous
#4AB231 #31B258 #31B299
triadic
#31B258 #5831B2 #B25831
tetradic
#31B258 #314AB2 #B2318B #B29931
square
#31B258 #314AB2 #B2318B #B29931
split-complementary
#31B258 #9931B2 #B2314A
monochromatic
#175229 #248240 #31B258 #51CF77 #81DC9D
Accessibility & contrast
On white
2.75
#31B258 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.64
#31B258 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31B258
7.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31B258 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31B258 | 1.00 | 2.75 | 7.64 | 7.64 |
| #FFFFFF | 2.75 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.64 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.64 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B3A250
Deuteranopia (green-blind)
#A4985F
Tritanopia (blue-blind)
#00AF9D
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #31b258; /* rgb */ color: rgb(49, 178, 88); /* oklch */ color: oklch(67.4% 0.170 149.1);
Tailwind
colors: {
custom: {
50: '#7bca89',
500: '#31b258',
950: '#000000',
},
}SCSS
$custom: #31b258; $custom-light: #7bca89; $custom-dark: #000000;
JSON
{
"hex": "#31b258",
"rgb": {
"r": 49,
"g": 178,
"b": 88
},
"hsl": {
"h": 138.14,
"s": 56.828,
"l": 44.51
},
"oklch": {
"l": 0.67422,
"c": 0.1698,
"h": 149.1
},
"luminance": 0.33198
}Semantic roles & 50–950 ramp
primary
#31B258
secondary
#C579AE
accent
#48B2E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130B
muted
#7C827C