#28681F#28681F
#28681F is a mid, vivid green. Relative luminance 0.105; OKLCH L 45.9% C 0.125 H 141.3°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #28681F |
|---|---|
| RGB | rgb(40, 104, 31) |
| HSL | hsl(113, 54%, 26%) |
| HSV | hsv(113, 70%, 41%) |
| CMYK | cmyk(61.5%, 0%, 70.2%, 59.2%) |
| CIE-LAB | lab(38.64, -35.63, 33.84) |
| CIE-LCH | lch(38.64, 49.14, 136.47°) |
| OKLab | oklab(45.92% -0.0973 0.078) |
| OKLCH | oklch(45.92% 0.125 141.3) |
| XYZ | xyz(6.0724, 10.4501, 2.9931) |
| Luminance | 0.1045 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.83
Deep Green
#02590F
ΔE00 5.44
Forest Green
#2D5A27
ΔE00 5.83
Forest
#0B5509
ΔE00 6.40
Darkish Green
#287C37
ΔE00 7.18
Pine
#2B5D34
ΔE00 7.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28681F #5F1F68
analogous
#4D681F #28681F #1F683B
triadic
#28681F #1F2868 #681F28
tetradic
#28681F #1F4D68 #5F1F68 #683B1F
square
#28681F #1F4D68 #5F1F68 #683B1F
split-complementary
#28681F #3B1F68 #681F4D
monochromatic
#091807 #163911 #28681F #3A972D #4DC53C
Accessibility & contrast
On white
6.80
#28681F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#28681F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28681F
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28681F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28681F | 1.00 | 6.80 | 3.09 | 6.80 |
| #FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E15
Deuteranopia (green-blind)
#635926
Tritanopia (blue-blind)
#1F6559
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #28681f; /* rgb */ color: rgb(40, 104, 31); /* oklch */ color: oklch(45.9% 0.125 141.3);
Tailwind
colors: {
custom: {
50: '#6a945f',
500: '#28681f',
950: '#000000',
},
}SCSS
$custom: #28681f; $custom-light: #6a945f; $custom-dark: #000000;
JSON
{
"hex": "#28681f",
"rgb": {
"r": 40,
"g": 104,
"b": 31
},
"hsl": {
"h": 112.603,
"s": 54.074,
"l": 26.471
},
"oklch": {
"l": 0.45917,
"c": 0.1247,
"h": 141.3
},
"luminance": 0.10451
}Semantic roles & 50–950 ramp
primary
#28681F
secondary
#92469C
accent
#4ADDCB
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D05
muted
#7A7E79