#296815#296815
#296815 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.9% C 0.131 H 139.5°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #296815 |
|---|---|
| RGB | rgb(41, 104, 21) |
| HSL | hsl(106, 66%, 25%) |
| HSV | hsv(106, 80%, 41%) |
| CMYK | cmyk(60.6%, 0%, 79.8%, 59.2%) |
| CIE-LAB | lab(38.60, -36.24, 38.01) |
| CIE-LCH | lch(38.60, 52.52, 133.63°) |
| OKLab | oklab(45.87% -0.0997 0.0853) |
| OKLCH | oklch(45.87% 0.131 139.5) |
| XYZ | xyz(5.9999, 10.4257, 2.4055) |
| Luminance | 0.1043 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.18
Deep Green
#02590F
ΔE00 5.77
Forest
#0B5509
ΔE00 6.53
Forest Green
#2D5A27
ΔE00 6.78
Tree Green
#2A7E19
ΔE00 7.55
Camouflage Green
#4B6113
ΔE00 7.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#296815 #541568
analogous
#536815 #296815 #15682B
triadic
#296815 #152968 #681529
tetradic
#296815 #155368 #541568 #682B15
square
#296815 #155368 #541568 #682B15
split-complementary
#296815 #2B1568 #681553
monochromatic
#0A1905 #15350B #296815 #3D9B1F #51CE2A
Accessibility & contrast
On white
6.81
#296815 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.09
#296815 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #296815
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##296815 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##296815 | 1.00 | 6.81 | 3.09 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.09 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E04
Deuteranopia (green-blind)
#63591E
Tritanopia (blue-blind)
#226458
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #296815; /* rgb */ color: rgb(41, 104, 21); /* oklch */ color: oklch(45.9% 0.131 139.5);
Tailwind
colors: {
custom: {
50: '#6b9459',
500: '#296815',
950: '#000000',
},
}SCSS
$custom: #296815; $custom-light: #6b9459; $custom-dark: #000000;
JSON
{
"hex": "#296815",
"rgb": {
"r": 41,
"g": 104,
"b": 21
},
"hsl": {
"h": 105.542,
"s": 66.4,
"l": 24.51
},
"oklch": {
"l": 0.45867,
"c": 0.13118,
"h": 139.5
},
"luminance": 0.10426
}Semantic roles & 50–950 ramp
primary
#296815
secondary
#873A9F
accent
#3EE9C0
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79