#28672F#28672F
#28672F is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.8% C 0.109 H 145.6°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #28672F |
|---|---|
| RGB | rgb(40, 103, 47) |
| HSL | hsl(127, 44%, 28%) |
| HSV | hsv(127, 61%, 40%) |
| CMYK | cmyk(61.2%, 0%, 54.4%, 59.6%) |
| CIE-LAB | lab(38.47, -33.12, 25.50) |
| CIE-LCH | lch(38.47, 41.80, 142.40°) |
| OKLab | oklab(45.84% -0.0897 0.0615) |
| OKLCH | oklch(45.84% 0.109 145.6) |
| XYZ | xyz(6.2380, 10.3563, 4.3590) |
| Luminance | 0.1036 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.55
Forest Green
#2D5A27
ΔE00 4.57
Spruce
#0A5F38
ΔE00 5.74
Hunter Green
#355E3B
ΔE00 5.97
Deep Green
#02590F
ΔE00 6.17
Darkgreen
#006400
ΔE00 6.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28672F #672860
analogous
#406728 #28672F #28674E
triadic
#28672F #2F2867 #672F28
tetradic
#28672F #284067 #672860 #674E28
square
#28672F #284067 #672860 #674E28
split-complementary
#28672F #4E2867 #672840
monochromatic
#09160A #173B1B #28672F #399343 #4FBB5B
Accessibility & contrast
On white
6.84
#28672F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#28672F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28672F
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28672F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28672F | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695E2A
Deuteranopia (green-blind)
#605833
Tritanopia (blue-blind)
#1B645A
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #28672f; /* rgb */ color: rgb(40, 103, 47); /* oklch */ color: oklch(45.8% 0.109 145.6);
Tailwind
colors: {
custom: {
50: '#699369',
500: '#28672f',
950: '#000000',
},
}SCSS
$custom: #28672f; $custom-light: #699369; $custom-dark: #000000;
JSON
{
"hex": "#28672f",
"rgb": {
"r": 40,
"g": 103,
"b": 47
},
"hsl": {
"h": 126.667,
"s": 44.056,
"l": 28.039
},
"oklch": {
"l": 0.45842,
"c": 0.10874,
"h": 145.6
},
"luminance": 0.10357
}Semantic roles & 50–950 ramp
primary
#28672F
secondary
#9A5192
accent
#54C6D4
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D06
muted
#7A7E7A