#28620F#28620F
#28620F is a dark, vivid green. Relative luminance 0.092; OKLCH L 44.0% C 0.127 H 138.5°. Best body text is #FFFFFF at 7.38:1 contrast (WCAG AA passes).
Color values
| HEX | #28620F |
|---|---|
| RGB | rgb(40, 98, 15) |
| HSL | hsl(102, 73%, 22%) |
| HSV | hsv(102, 85%, 38%) |
| CMYK | cmyk(59.2%, 0%, 84.7%, 61.6%) |
| CIE-LAB | lab(36.41, -34.52, 38.02) |
| CIE-LCH | lch(36.41, 51.35, 132.24°) |
| OKLab | oklab(44.04% -0.0954 0.0844) |
| OKLCH | oklch(44.04% 0.127 138.5) |
| XYZ | xyz(5.3288, 9.2205, 1.9508) |
| Luminance | 0.0922 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.08
Deep Green
#02590F
ΔE00 4.50
Forest
#0B5509
ΔE00 4.91
Forest Green
#2D5A27
ΔE00 5.81
Navy Green
#35530A
ΔE00 6.17
Camouflage Green
#4B6113
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28620F #490F62
analogous
#51620F #28620F #0F6220
triadic
#28620F #0F2862 #620F28
tetradic
#28620F #0F5162 #490F62 #62200F
square
#28620F #0F5162 #490F62 #62200F
split-complementary
#28620F #200F62 #620F51
monochromatic
#0B1B04 #122D07 #28620F #3E9717 #53CC1F
Accessibility & contrast
On white
7.38
#28620F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.84
#28620F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #28620F
7.38:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28620F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28620F | 1.00 | 7.38 | 2.84 | 7.38 |
| #FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.38 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655900
Deuteranopia (green-blind)
#5E5419
Tritanopia (blue-blind)
#235E53
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #28620f; /* rgb */ color: rgb(40, 98, 15); /* oklch */ color: oklch(44.0% 0.127 138.5);
Tailwind
colors: {
custom: {
50: '#6a8f55',
500: '#28620f',
950: '#000000',
},
}SCSS
$custom: #28620f; $custom-light: #6a8f55; $custom-dark: #000000;
JSON
{
"hex": "#28620f",
"rgb": {
"r": 40,
"g": 98,
"b": 15
},
"hsl": {
"h": 101.928,
"s": 73.451,
"l": 22.157
},
"oklch": {
"l": 0.44037,
"c": 0.12731,
"h": 138.5
},
"luminance": 0.09221
}Semantic roles & 50–950 ramp
primary
#28620F
secondary
#7B329B
accent
#38F0B9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78