#296817#296817
#296817 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.9% C 0.130 H 139.7°. Best body text is #FFFFFF at 6.80:1 contrast (WCAG AA passes).
Color values
| HEX | #296817 |
|---|---|
| RGB | rgb(41, 104, 23) |
| HSL | hsl(107, 64%, 25%) |
| HSV | hsv(107, 78%, 41%) |
| CMYK | cmyk(60.6%, 0%, 77.9%, 59.2%) |
| CIE-LAB | lab(38.61, -36.09, 37.26) |
| CIE-LCH | lch(38.61, 51.87, 134.09°) |
| OKLab | oklab(45.88% -0.0991 0.084) |
| OKLCH | oklch(45.88% 0.13 139.7) |
| XYZ | xyz(6.0192, 10.4334, 2.5071) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.26
Deep Green
#02590F
ΔE00 5.69
Forest
#0B5509
ΔE00 6.48
Forest Green
#2D5A27
ΔE00 6.60
Tree Green
#2A7E19
ΔE00 7.60
Darkish Green
#287C37
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#296817 #561768
analogous
#516817 #296817 #17682E
triadic
#296817 #172968 #681729
tetradic
#296817 #175168 #561768 #682E17
square
#296817 #175168 #561768 #682E17
split-complementary
#296817 #2E1768 #681751
monochromatic
#0A1906 #15360C #296817 #3D9A22 #51CC2D
Accessibility & contrast
On white
6.80
#296817 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#296817 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #296817
6.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##296817 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##296817 | 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)
#6B5E07
Deuteranopia (green-blind)
#63591F
Tritanopia (blue-blind)
#226458
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #296817; /* rgb */ color: rgb(41, 104, 23); /* oklch */ color: oklch(45.9% 0.130 139.7);
Tailwind
colors: {
custom: {
50: '#6b945a',
500: '#296817',
950: '#000000',
},
}SCSS
$custom: #296817; $custom-light: #6b945a; $custom-dark: #000000;
JSON
{
"hex": "#296817",
"rgb": {
"r": 41,
"g": 104,
"b": 23
},
"hsl": {
"h": 106.667,
"s": 63.78,
"l": 24.902
},
"oklch": {
"l": 0.45882,
"c": 0.12994,
"h": 139.7
},
"luminance": 0.10434
}Semantic roles & 50–950 ramp
primary
#296817
secondary
#893D9E
accent
#41E7C2
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79