#296F17#296F17
#296F17 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.139 H 140.1°. Best body text is #FFFFFF at 6.21:1 contrast (WCAG AA passes).
Color values
| HEX | #296F17 |
|---|---|
| RGB | rgb(41, 111, 23) |
| HSL | hsl(108, 66%, 26%) |
| HSV | hsv(108, 79%, 44%) |
| CMYK | cmyk(63.1%, 0%, 79.3%, 56.5%) |
| CIE-LAB | lab(41.06, -38.85, 39.69) |
| CIE-LCH | lch(41.06, 55.54, 134.39°) |
| OKLab | oklab(47.91% -0.1066 0.0891) |
| OKLCH | oklch(47.91% 0.139 140.1) |
| XYZ | xyz(6.7532, 11.9015, 2.7518) |
| Luminance | 0.1190 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.46
Tree Green
#2A7E19
ΔE00 5.21
Darkish Green
#287C37
ΔE00 6.10
Green
#008000
ΔE00 6.43
Dark Grass Green
#388004
ΔE00 6.85
Deep Green
#02590F
ΔE00 7.78
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#296F17 #5D176F
analogous
#556F17 #296F17 #176F31
triadic
#296F17 #17296F #6F1729
tetradic
#296F17 #17556F #5D176F #6F3117
square
#296F17 #17556F #5D176F #6F3117
split-complementary
#296F17 #31176F #6F1755
monochromatic
#091905 #163C0C #296F17 #3CA222 #4FD32D
Accessibility & contrast
On white
6.21
#296F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#296F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #296F17
6.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##296F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##296F17 | 1.00 | 6.21 | 3.38 | 6.21 |
| #FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.21 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726404
Deuteranopia (green-blind)
#6A5F21
Tritanopia (blue-blind)
#206B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #296f17; /* rgb */ color: rgb(41, 111, 23); /* oklch */ color: oklch(47.9% 0.139 140.1);
Tailwind
colors: {
custom: {
50: '#6c995b',
500: '#296f17',
950: '#000000',
},
}SCSS
$custom: #296f17; $custom-light: #6c995b; $custom-dark: #000000;
JSON
{
"hex": "#296f17",
"rgb": {
"r": 41,
"g": 111,
"b": 23
},
"hsl": {
"h": 107.727,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.47906,
"c": 0.13891,
"h": 140.1
},
"luminance": 0.11902
}Semantic roles & 50–950 ramp
primary
#296F17
secondary
#903DA5
accent
#3FE9C6
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79