#28661F#28661F
#28661F is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.122 H 141.2°. Best body text is #FFFFFF at 6.98:1 contrast (WCAG AA passes).
Color values
| HEX | #28661F |
|---|---|
| RGB | rgb(40, 102, 31) |
| HSL | hsl(112, 53%, 26%) |
| HSV | hsv(112, 70%, 40%) |
| CMYK | cmyk(60.8%, 0%, 69.6%, 60%) |
| CIE-LAB | lab(37.94, -34.81, 33.08) |
| CIE-LCH | lch(37.94, 48.02, 136.45°) |
| OKLab | oklab(45.34% -0.0951 0.0764) |
| OKLCH | oklch(45.34% 0.122 141.2) |
| XYZ | xyz(5.8735, 10.0523, 2.9268) |
| Luminance | 0.1005 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.86
Deep Green
#02590F
ΔE00 4.92
Forest Green
#2D5A27
ΔE00 5.18
Forest
#0B5509
ΔE00 5.83
Pine
#2B5D34
ΔE00 6.82
Darkish Green
#287C37
ΔE00 7.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28661F #5D1F66
analogous
#4B661F #28661F #1F6639
triadic
#28661F #1F2866 #661F28
tetradic
#28661F #1F4B66 #5D1F66 #66391F
square
#28661F #1F4B66 #5D1F66 #66391F
split-complementary
#28661F #391F66 #661F4B
monochromatic
#091707 #163711 #28661F #3A952D #4DC43C
Accessibility & contrast
On white
6.98
#28661F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.01
#28661F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28661F
6.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28661F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28661F | 1.00 | 6.98 | 3.01 | 6.98 |
| #FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.01 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695D16
Deuteranopia (green-blind)
#615725
Tritanopia (blue-blind)
#1F6357
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #28661f; /* rgb */ color: rgb(40, 102, 31); /* oklch */ color: oklch(45.3% 0.122 141.2);
Tailwind
colors: {
custom: {
50: '#6a925e',
500: '#28661f',
950: '#000000',
},
}SCSS
$custom: #28661f; $custom-light: #6a925e; $custom-dark: #000000;
JSON
{
"hex": "#28661f",
"rgb": {
"r": 40,
"g": 102,
"b": 31
},
"hsl": {
"h": 112.394,
"s": 53.383,
"l": 26.078
},
"oklch": {
"l": 0.45338,
"c": 0.12196,
"h": 141.2
},
"luminance": 0.10053
}Semantic roles & 50–950 ramp
primary
#28661F
secondary
#90469A
accent
#4BDDCA
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D04
muted
#7A7E79