#31AF60#31AF60
#31AF60 is a light, vivid green. Relative luminance 0.322; OKLCH L 66.8% C 0.159 H 151.4°. Best body text is #000000 at 7.43:1 contrast (WCAG AA passes).
Color values
| HEX | #31AF60 |
|---|---|
| RGB | rgb(49, 175, 96) |
| HSL | hsl(142, 56%, 44%) |
| HSV | hsv(142, 72%, 69%) |
| CMYK | cmyk(72%, 0%, 45.1%, 31.4%) |
| CIE-LAB | lab(63.47, -51.71, 30.86) |
| CIE-LCH | lch(63.47, 60.22, 149.17°) |
| OKLab | oklab(66.76% -0.1392 0.0759) |
| OKLCH | oklch(66.76% 0.159 151.4) |
| XYZ | xyz(18.7063, 32.1553, 16.2848) |
| Luminance | 0.3216 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Jade Green
#2BAF6A
ΔE00 2.09
Seaweed Green
#35AD6B
ΔE00 2.47
Cool Green
#33B864
ΔE00 2.57
Mediumseagreen
#3CB371
ΔE00 2.97
Algae
#54AC68
ΔE00 3.23
Shamrock
#01B44C
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31AF60 #AF3180
analogous
#41AF31 #31AF60 #31AF9F
triadic
#31AF60 #6031AF #AF6031
tetradic
#31AF60 #3141AF #AF3180 #AF9F31
square
#31AF60 #3141AF #AF3180 #AF9F31
split-complementary
#31AF60 #9F31AF #AF3141
monochromatic
#164F2C #247F46 #31AF60 #4FCE7F #7FDBA2
Accessibility & contrast
On white
2.83
#31AF60 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.43
#31AF60 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31AF60
7.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31AF60 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31AF60 | 1.00 | 2.83 | 7.43 | 7.43 |
| #FFFFFF | 2.83 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B0A05A
Deuteranopia (green-blind)
#A09565
Tritanopia (blue-blind)
#00AC9C
Achromatopsia (no color)
#9A9A9A
Design tokens & code
CSS
--color: #31af60; /* rgb */ color: rgb(49, 175, 96); /* oklch */ color: oklch(66.8% 0.159 151.4);
Tailwind
colors: {
custom: {
50: '#7bc88e',
500: '#31af60',
950: '#000000',
},
}SCSS
$custom: #31af60; $custom-light: #7bc88e; $custom-dark: #000000;
JSON
{
"hex": "#31af60",
"rgb": {
"r": 49,
"g": 175,
"b": 96
},
"hsl": {
"h": 142.381,
"s": 56.25,
"l": 43.922
},
"oklch": {
"l": 0.66758,
"c": 0.15855,
"h": 151.4
},
"luminance": 0.32157
}Semantic roles & 50–950 ramp
primary
#31AF60
secondary
#C478A8
accent
#48A7E0
background
#F8FCF8
surface
#EFF8F0
border
#CAD1CB
text
#0B130C
muted
#7C827D