#31C268#31C268
#31C268 is a light, vivid green. Relative luminance 0.402; OKLCH L 71.9% C 0.176 H 151.2°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #31C268 |
|---|---|
| RGB | rgb(49, 194, 104) |
| HSL | hsl(143, 60%, 48%) |
| HSV | hsv(143, 75%, 76%) |
| CMYK | cmyk(74.7%, 0%, 46.4%, 23.9%) |
| CIE-LAB | lab(69.64, -57.29, 34.63) |
| CIE-LCH | lch(69.64, 66.95, 148.85°) |
| OKLab | oklab(71.89% -0.154 0.0849) |
| OKLCH | oklch(71.89% 0.176 151.2) |
| XYZ | xyz(23.0551, 40.2333, 19.6448) |
| Luminance | 0.4024 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Algae Green
#21C36F
ΔE00 1.47
Dark Mint
#48C072
ΔE00 2.16
Dark Mint Green
#20C073
ΔE00 2.60
Cool Green
#33B864
ΔE00 2.71
Emerald
#50C878
ΔE00 2.92
Shamrock Green
#02C14D
ΔE00 3.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#31C268 #C2318B
analogous
#42C231 #31C268 #31C2B1
triadic
#31C268 #6831C2 #C26831
tetradic
#31C268 #3142C2 #C2318B #C2B131
square
#31C268 #3142C2 #C2318B #C2B131
split-complementary
#31C268 #B131C2 #C23142
monochromatic
#186034 #25914E #31C268 #5BD689 #8CE2AC
Accessibility & contrast
On white
2.32
#31C268 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.05
#31C268 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #31C268
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##31C268 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##31C268 | 1.00 | 2.32 | 9.05 | 9.05 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3B161
Deuteranopia (green-blind)
#B2A56E
Tritanopia (blue-blind)
#00BFAC
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #31c268; /* rgb */ color: rgb(49, 194, 104); /* oklch */ color: oklch(71.9% 0.176 151.2);
Tailwind
colors: {
custom: {
50: '#7fd694',
500: '#31c268',
950: '#000000',
},
}SCSS
$custom: #31c268; $custom-light: #7fd694; $custom-dark: #000000;
JSON
{
"hex": "#31c268",
"rgb": {
"r": 49,
"g": 194,
"b": 104
},
"hsl": {
"h": 142.759,
"s": 59.671,
"l": 47.647
},
"oklch": {
"l": 0.71889,
"c": 0.17588,
"h": 151.2
},
"luminance": 0.40236
}Semantic roles & 50–950 ramp
primary
#31C268
secondary
#CC83B0
accent
#45A7E3
background
#F8FDF9
surface
#F0FAF1
border
#CBD3CB
text
#0B140D
muted
#7C837E