#28661C#28661C
#28661C is a mid, vivid green. Relative luminance 0.100; OKLCH L 45.3% C 0.124 H 140.7°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #28661C |
|---|---|
| RGB | rgb(40, 102, 28) |
| HSL | hsl(110, 57%, 25%) |
| HSV | hsv(110, 73%, 40%) |
| CMYK | cmyk(60.8%, 0%, 72.5%, 60%) |
| CIE-LAB | lab(37.91, -35.11, 34.42) |
| CIE-LCH | lch(37.91, 49.17, 135.57°) |
| OKLab | oklab(45.31% -0.0961 0.0788) |
| OKLCH | oklch(45.31% 0.124 140.7) |
| XYZ | xyz(5.8358, 10.0372, 2.7282) |
| Luminance | 0.1004 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.52
Deep Green
#02590F
ΔE00 4.94
Forest Green
#2D5A27
ΔE00 5.49
Forest
#0B5509
ΔE00 5.79
Pine
#2B5D34
ΔE00 7.28
Navy Green
#35530A
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28661C #5A1C66
analogous
#4D661C #28661C #1C6635
triadic
#28661C #1C2866 #661C28
tetradic
#28661C #1C4D66 #5A1C66 #66351C
square
#28661C #1C4D66 #5A1C66 #66351C
split-complementary
#28661C #351C66 #661C4D
monochromatic
#091807 #15360F #28661C #3B9629 #4EC636
Accessibility & contrast
On white
6.98
#28661C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#28661C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28661C
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28661C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28661C | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695C11
Deuteranopia (green-blind)
#615723
Tritanopia (blue-blind)
#206357
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #28661c; /* rgb */ color: rgb(40, 102, 28); /* oklch */ color: oklch(45.3% 0.124 140.7);
Tailwind
colors: {
custom: {
50: '#6a925d',
500: '#28661c',
950: '#000000',
},
}SCSS
$custom: #28661c; $custom-light: #6a925d; $custom-dark: #000000;
JSON
{
"hex": "#28661c",
"rgb": {
"r": 40,
"g": 102,
"b": 28
},
"hsl": {
"h": 110.27,
"s": 56.923,
"l": 25.49
},
"oklch": {
"l": 0.45307,
"c": 0.12429,
"h": 140.7
},
"luminance": 0.10038
}Semantic roles & 50–950 ramp
primary
#28661C
secondary
#8D439B
accent
#48E0C7
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79