#28682F#28682F
#28682F is a mid, moderate green. Relative luminance 0.106; OKLCH L 46.1% C 0.110 H 145.5°. Best body text is #FFFFFF at 6.75:1 contrast (WCAG AA passes).
Color values
| HEX | #28682F |
|---|---|
| RGB | rgb(40, 104, 47) |
| HSL | hsl(127, 44%, 28%) |
| HSV | hsv(127, 62%, 41%) |
| CMYK | cmyk(61.5%, 0%, 54.8%, 59.2%) |
| CIE-LAB | lab(38.82, -33.55, 25.93) |
| CIE-LCH | lch(38.82, 42.40, 142.30°) |
| OKLab | oklab(46.13% -0.0909 0.0624) |
| OKLCH | oklch(46.13% 0.11 145.5) |
| XYZ | xyz(6.3381, 10.5564, 4.3924) |
| Luminance | 0.1056 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.89
Pine
#2B5D34
ΔE00 4.90
Spruce
#0A5F38
ΔE00 6.00
Hunter Green
#355E3B
ΔE00 6.27
Deep Green
#02590F
ΔE00 6.32
Darkgreen
#006400
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28682F #682861
analogous
#416828 #28682F #28684F
triadic
#28682F #2F2868 #682F28
tetradic
#28682F #284168 #682861 #684F28
square
#28682F #284168 #682861 #684F28
split-complementary
#28682F #4F2868 #682841
monochromatic
#09160A #173C1B #28682F #399443 #4FBB5B
Accessibility & contrast
On white
6.75
#28682F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.11
#28682F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28682F
6.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28682F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28682F | 1.00 | 6.75 | 3.11 | 6.75 |
| #FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.11 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5F2A
Deuteranopia (green-blind)
#615933
Tritanopia (blue-blind)
#1B655B
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #28682f; /* rgb */ color: rgb(40, 104, 47); /* oklch */ color: oklch(46.1% 0.110 145.5);
Tailwind
colors: {
custom: {
50: '#699469',
500: '#28682f',
950: '#000000',
},
}SCSS
$custom: #28682f; $custom-light: #699469; $custom-dark: #000000;
JSON
{
"hex": "#28682f",
"rgb": {
"r": 40,
"g": 104,
"b": 47
},
"hsl": {
"h": 126.563,
"s": 44.444,
"l": 28.235
},
"oklch": {
"l": 0.46129,
"c": 0.11024,
"h": 145.5
},
"luminance": 0.10557
}Semantic roles & 50–950 ramp
primary
#28682F
secondary
#9B5193
accent
#54C6D4
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D06
muted
#7A7E7A