#26871E#26871E
#26871E is a mid, vivid green. Relative luminance 0.178; OKLCH L 54.7% C 0.165 H 142.0°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #26871E |
|---|---|
| RGB | rgb(38, 135, 30) |
| HSL | hsl(115, 64%, 32%) |
| HSV | hsv(115, 78%, 53%) |
| CMYK | cmyk(71.9%, 0%, 77.8%, 47.1%) |
| CIE-LAB | lab(49.29, -47.80, 45.22) |
| CIE-LCH | lch(49.29, 65.80, 136.59°) |
| OKLab | oklab(54.72% -0.1302 0.1017) |
| OKLCH | oklch(54.72% 0.165 142) |
| XYZ | xyz(9.6971, 17.8327, 4.1591) |
| Luminance | 0.1783 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forestgreen (CSS)
#228B22
ΔE00 1.45
Emerald Green
#028F1E
ΔE00 3.00
Tree Green
#2A7E19
ΔE00 3.18
Green
#008000
ΔE00 3.37
Dark Grass Green
#388004
ΔE00 3.89
True Green
#089404
ΔE00 4.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#26871E #7F1E87
analogous
#5A871E #26871E #1E874B
triadic
#26871E #1E2687 #871E26
tetradic
#26871E #1E5A87 #7F1E87 #874B1E
square
#26871E #1E5A87 #7F1E87 #874B1E
split-complementary
#26871E #4B1E87 #871E5A
monochromatic
#0A2308 #185513 #26871E #34B929 #54D749
Accessibility & contrast
On white
4.60
#26871E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.57
#26871E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #26871E
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##26871E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##26871E | 1.00 | 4.60 | 4.57 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.57 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8A7A06
Deuteranopia (green-blind)
#7F722A
Tritanopia (blue-blind)
#0B8373
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #26871e; /* rgb */ color: rgb(38, 135, 30); /* oklch */ color: oklch(54.7% 0.165 142.0);
Tailwind
colors: {
custom: {
50: '#70ab62',
500: '#26871e',
950: '#000000',
},
}SCSS
$custom: #26871e; $custom-light: #70ab62; $custom-dark: #000000;
JSON
{
"hex": "#26871e",
"rgb": {
"r": 38,
"g": 135,
"b": 30
},
"hsl": {
"h": 115.429,
"s": 63.636,
"l": 32.353
},
"oklch": {
"l": 0.54717,
"c": 0.16517,
"h": 142
},
"luminance": 0.17834
}Semantic roles & 50–950 ramp
primary
#26871E
secondary
#B048B9
accent
#41E7DA
background
#F7FAF6
surface
#EDF4EB
border
#C8CEC6
text
#091005
muted
#7B7F7A