#28671C#28671C
#28671C is a mid, vivid green. Relative luminance 0.102; OKLCH L 45.6% C 0.126 H 140.7°. Best body text is #FFFFFF at 6.89:1 contrast (WCAG AA passes).
Color values
| HEX | #28671C |
|---|---|
| RGB | rgb(40, 103, 28) |
| HSL | hsl(110, 57%, 26%) |
| HSV | hsv(110, 73%, 40%) |
| CMYK | cmyk(61.2%, 0%, 72.8%, 59.6%) |
| CIE-LAB | lab(38.26, -35.52, 34.79) |
| CIE-LCH | lch(38.26, 49.72, 135.59°) |
| OKLab | oklab(45.6% -0.0972 0.0796) |
| OKLCH | oklch(45.6% 0.126 140.7) |
| XYZ | xyz(5.9346, 10.2349, 2.7612) |
| Luminance | 0.1023 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.51
Deep Green
#02590F
ΔE00 5.20
Forest Green
#2D5A27
ΔE00 5.80
Forest
#0B5509
ΔE00 6.08
Pine
#2B5D34
ΔE00 7.51
Darkish Green
#287C37
ΔE00 7.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28671C #5B1C67
analogous
#4D671C #28671C #1C6735
triadic
#28671C #1C2867 #671C28
tetradic
#28671C #1C4D67 #5B1C67 #67351C
square
#28671C #1C4D67 #5B1C67 #67351C
split-complementary
#28671C #351C67 #671C4D
monochromatic
#091807 #15370F #28671C #3B9729 #4DC736
Accessibility & contrast
On white
6.89
#28671C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#28671C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28671C
6.89:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28671C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28671C | 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)
#6A5D11
Deuteranopia (green-blind)
#625823
Tritanopia (blue-blind)
#206458
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #28671c; /* rgb */ color: rgb(40, 103, 28); /* oklch */ color: oklch(45.6% 0.126 140.7);
Tailwind
colors: {
custom: {
50: '#6a935d',
500: '#28671c',
950: '#000000',
},
}SCSS
$custom: #28671c; $custom-light: #6a935d; $custom-dark: #000000;
JSON
{
"hex": "#28671c",
"rgb": {
"r": 40,
"g": 103,
"b": 28
},
"hsl": {
"h": 110.4,
"s": 57.252,
"l": 25.686
},
"oklch": {
"l": 0.45597,
"c": 0.12564,
"h": 140.7
},
"luminance": 0.10235
}Semantic roles & 50–950 ramp
primary
#28671C
secondary
#8E439C
accent
#47E1C8
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79