#28671E#28671E
#28671E is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.124 H 141.1°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #28671E |
|---|---|
| RGB | rgb(40, 103, 30) |
| HSL | hsl(112, 55%, 26%) |
| HSV | hsv(112, 71%, 40%) |
| CMYK | cmyk(61.2%, 0%, 70.9%, 59.6%) |
| CIE-LAB | lab(38.28, -35.32, 33.91) |
| CIE-LCH | lch(38.28, 48.97, 136.16°) |
| OKLab | oklab(45.62% -0.0966 0.078) |
| OKLCH | oklch(45.62% 0.124 141.1) |
| XYZ | xyz(5.9594, 10.2448, 2.8914) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.71
Deep Green
#02590F
ΔE00 5.18
Forest Green
#2D5A27
ΔE00 5.60
Forest
#0B5509
ΔE00 6.10
Pine
#2B5D34
ΔE00 7.22
Darkish Green
#287C37
ΔE00 7.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28671E #5D1E67
analogous
#4C671E #28671E #1E6738
triadic
#28671E #1E2867 #671E28
tetradic
#28671E #1E4C67 #5D1E67 #67381E
square
#28671E #1E4C67 #5D1E67 #67381E
split-complementary
#28671E #381E67 #671E4C
monochromatic
#091807 #163810 #28671E #3A962C #4DC63A
Accessibility & contrast
On white
6.89
#28671E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#28671E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28671E
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28671E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28671E | 1.00 | 6.89 | 3.05 | 6.89 |
| #FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.89 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D14
Deuteranopia (green-blind)
#625825
Tritanopia (blue-blind)
#1F6458
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #28671e; /* rgb */ color: rgb(40, 103, 30); /* oklch */ color: oklch(45.6% 0.124 141.1);
Tailwind
colors: {
custom: {
50: '#6a935e',
500: '#28671e',
950: '#000000',
},
}SCSS
$custom: #28671e; $custom-light: #6a935e; $custom-dark: #000000;
JSON
{
"hex": "#28671e",
"rgb": {
"r": 40,
"g": 103,
"b": 30
},
"hsl": {
"h": 111.781,
"s": 54.887,
"l": 26.078
},
"oklch": {
"l": 0.45617,
"c": 0.12412,
"h": 141.1
},
"luminance": 0.10245
}Semantic roles & 50–950 ramp
primary
#28671E
secondary
#90459C
accent
#4ADECA
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79