#28681C#28681C
#28681C is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.9% C 0.127 H 140.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #28681C |
|---|---|
| RGB | rgb(40, 104, 28) |
| HSL | hsl(111, 58%, 26%) |
| HSV | hsv(111, 73%, 41%) |
| CMYK | cmyk(61.5%, 0%, 73.1%, 59.2%) |
| CIE-LAB | lab(38.61, -35.93, 35.16) |
| CIE-LCH | lch(38.61, 50.27, 135.62°) |
| OKLab | oklab(45.89% -0.0983 0.0804) |
| OKLCH | oklch(45.89% 0.127 140.7) |
| XYZ | xyz(6.0347, 10.4350, 2.7945) |
| Luminance | 0.1044 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.53
Deep Green
#02590F
ΔE00 5.48
Forest Green
#2D5A27
ΔE00 6.12
Forest
#0B5509
ΔE00 6.38
Darkish Green
#287C37
ΔE00 7.35
Pine
#2B5D34
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28681C #5C1C68
analogous
#4E681C #28681C #1C6836
triadic
#28681C #1C2868 #681C28
tetradic
#28681C #1C4E68 #5C1C68 #68361C
square
#28681C #1C4E68 #5C1C68 #68361C
split-complementary
#28681C #361C68 #681C4E
monochromatic
#091806 #15380F #28681C #3B9829 #4DC836
Accessibility & contrast
On white
6.80
#28681C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#28681C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28681C
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28681C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28681C | 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)
#6B5E11
Deuteranopia (green-blind)
#635923
Tritanopia (blue-blind)
#1F6559
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #28681c; /* rgb */ color: rgb(40, 104, 28); /* oklch */ color: oklch(45.9% 0.127 140.7);
Tailwind
colors: {
custom: {
50: '#6a945d',
500: '#28681c',
950: '#000000',
},
}SCSS
$custom: #28681c; $custom-light: #6a945d; $custom-dark: #000000;
JSON
{
"hex": "#28681c",
"rgb": {
"r": 40,
"g": 104,
"b": 28
},
"hsl": {
"h": 110.526,
"s": 57.576,
"l": 25.882
},
"oklch": {
"l": 0.45887,
"c": 0.12698,
"h": 140.7
},
"luminance": 0.10436
}Semantic roles & 50–950 ramp
primary
#28681C
secondary
#8F439D
accent
#47E1C9
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79