#28671D#28671D
#28671D is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.125 H 140.9°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #28671D |
|---|---|
| RGB | rgb(40, 103, 29) |
| HSL | hsl(111, 56%, 26%) |
| HSV | hsv(111, 72%, 40%) |
| CMYK | cmyk(61.2%, 0%, 71.8%, 59.6%) |
| CIE-LAB | lab(38.27, -35.42, 34.36) |
| CIE-LCH | lch(38.27, 49.35, 135.88°) |
| OKLab | oklab(45.61% -0.0969 0.0788) |
| OKLCH | oklch(45.61% 0.125 140.9) |
| XYZ | xyz(5.9468, 10.2398, 2.8253) |
| Luminance | 0.1024 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.61
Deep Green
#02590F
ΔE00 5.19
Forest Green
#2D5A27
ΔE00 5.70
Forest
#0B5509
ΔE00 6.09
Pine
#2B5D34
ΔE00 7.37
Darkish Green
#287C37
ΔE00 7.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28671D #5C1D67
analogous
#4D671D #28671D #1D6737
triadic
#28671D #1D2867 #671D28
tetradic
#28671D #1D4D67 #5C1D67 #67371D
square
#28671D #1D4D67 #5C1D67 #67371D
split-complementary
#28671D #371D67 #671D4D
monochromatic
#091807 #153710 #28671D #3B972A #4DC738
Accessibility & contrast
On white
6.89
#28671D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#28671D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28671D
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28671D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28671D | 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)
#6A5D13
Deuteranopia (green-blind)
#625824
Tritanopia (blue-blind)
#1F6458
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #28671d; /* rgb */ color: rgb(40, 103, 29); /* oklch */ color: oklch(45.6% 0.125 140.9);
Tailwind
colors: {
custom: {
50: '#6a935d',
500: '#28671d',
950: '#000000',
},
}SCSS
$custom: #28671d; $custom-light: #6a935d; $custom-dark: #000000;
JSON
{
"hex": "#28671d",
"rgb": {
"r": 40,
"g": 103,
"b": 29
},
"hsl": {
"h": 111.081,
"s": 56.061,
"l": 25.882
},
"oklch": {
"l": 0.45607,
"c": 0.12489,
"h": 140.9
},
"luminance": 0.1024
}Semantic roles & 50–950 ramp
primary
#28671D
secondary
#8F449C
accent
#48DFC9
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79