#28691F#28691F
#28691F is a mid, vivid green. Relative luminance 0.107; OKLCH L 46.2% C 0.126 H 141.3°. Best body text is #FFFFFF at 6.71:1 contrast (WCAG AA passes).
Color values
| HEX | #28691F |
|---|---|
| RGB | rgb(40, 105, 31) |
| HSL | hsl(113, 54%, 27%) |
| HSV | hsv(113, 70%, 41%) |
| CMYK | cmyk(61.9%, 0%, 70.5%, 58.8%) |
| CIE-LAB | lab(38.99, -36.03, 34.22) |
| CIE-LCH | lch(38.99, 49.69, 136.48°) |
| OKLab | oklab(46.21% -0.0984 0.0788) |
| OKLCH | oklch(46.21% 0.126 141.3) |
| XYZ | xyz(6.1737, 10.6526, 3.0269) |
| Luminance | 0.1065 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.87
Deep Green
#02590F
ΔE00 5.72
Forest Green
#2D5A27
ΔE00 6.16
Forest
#0B5509
ΔE00 6.69
Darkish Green
#287C37
ΔE00 6.89
Pine
#2B5D34
ΔE00 7.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#28691F #601F69
analogous
#4D691F #28691F #1F693B
triadic
#28691F #1F2869 #691F28
tetradic
#28691F #1F4D69 #601F69 #693B1F
square
#28691F #1F4D69 #601F69 #693B1F
split-complementary
#28691F #3B1F69 #691F4D
monochromatic
#091807 #163A11 #28691F #3A982D #4DC63D
Accessibility & contrast
On white
6.71
#28691F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.13
#28691F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #28691F
6.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##28691F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##28691F | 1.00 | 6.71 | 3.13 | 6.71 |
| #FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F15
Deuteranopia (green-blind)
#645A26
Tritanopia (blue-blind)
#1F665A
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #28691f; /* rgb */ color: rgb(40, 105, 31); /* oklch */ color: oklch(46.2% 0.126 141.3);
Tailwind
colors: {
custom: {
50: '#6a945f',
500: '#28691f',
950: '#000000',
},
}SCSS
$custom: #28691f; $custom-light: #6a945f; $custom-dark: #000000;
JSON
{
"hex": "#28691f",
"rgb": {
"r": 40,
"g": 105,
"b": 31
},
"hsl": {
"h": 112.703,
"s": 54.412,
"l": 26.667
},
"oklch": {
"l": 0.46206,
"c": 0.12606,
"h": 141.3
},
"luminance": 0.10653
}Semantic roles & 50–950 ramp
primary
#28691F
secondary
#93479D
accent
#4ADECC
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D05
muted
#7A7E79