#28642E#28642E
#28642E is a dark, moderate green. Relative luminance 0.098; OKLCH L 45.0% C 0.105 H 145.4°. Best body text is #FFFFFF at 7.11:1 contrast (WCAG AA passes).
Color values
| HEX | #28642E |
|---|---|
| RGB | rgb(40, 100, 46) |
| HSL | hsl(126, 43%, 27%) |
| HSV | hsv(126, 60%, 39%) |
| CMYK | cmyk(60%, 0%, 54%, 60.8%) |
| CIE-LAB | lab(37.41, -31.97, 24.75) |
| CIE-LCH | lch(37.41, 40.43, 142.26°) |
| OKLab | oklab(44.96% -0.0866 0.0597) |
| OKLCH | oklch(44.96% 0.105 145.4) |
| XYZ | xyz(5.9250, 9.7622, 4.1563) |
| Luminance | 0.0976 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.61
Pine
#2B5D34
ΔE00 3.67
Spruce
#0A5F38
ΔE00 5.22
Hunter Green
#355E3B
ΔE00 5.28
Deep Green
#02590F
ΔE00 5.70
Forest
#0B5509
ΔE00 6.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28642E #64285E
analogous
#406428 #28642E #28644C
triadic
#28642E #2E2864 #642E28
tetradic
#28642E #284064 #64285E #644C28
square
#28642E #284064 #64285E #644C28
split-complementary
#28642E #4C2864 #642840
monochromatic
#09160A #17381A #28642E #399042 #4EB859
Accessibility & contrast
On white
7.11
#28642E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.95
#28642E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28642E
7.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28642E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28642E | 1.00 | 7.11 | 2.95 | 7.11 |
| #FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.95 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.11 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665B29
Deuteranopia (green-blind)
#5E5632
Tritanopia (blue-blind)
#1D6258
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #28642e; /* rgb */ color: rgb(40, 100, 46); /* oklch */ color: oklch(45.0% 0.105 145.4);
Tailwind
colors: {
custom: {
50: '#689168',
500: '#28642e',
950: '#000000',
},
}SCSS
$custom: #28642e; $custom-light: #689168; $custom-dark: #000000;
JSON
{
"hex": "#28642e",
"rgb": {
"r": 40,
"g": 100,
"b": 46
},
"hsl": {
"h": 126,
"s": 42.857,
"l": 27.451
},
"oklch": {
"l": 0.44964,
"c": 0.10524,
"h": 145.4
},
"luminance": 0.09763
}Semantic roles & 50–950 ramp
primary
#28642E
secondary
#975190
accent
#55C6D3
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070D06
muted
#7A7D7A