#296017#296017
#296017 is a dark, moderate green. Relative luminance 0.089; OKLCH L 43.6% C 0.119 H 139.2°. Best body text is #FFFFFF at 7.55:1 contrast (WCAG AA passes).
Color values
| HEX | #296017 |
|---|---|
| RGB | rgb(41, 96, 23) |
| HSL | hsl(105, 61%, 23%) |
| HSV | hsv(105, 76%, 38%) |
| CMYK | cmyk(57.3%, 0%, 76%, 62.4%) |
| CIE-LAB | lab(35.79, -32.78, 34.40) |
| CIE-LCH | lch(35.79, 47.52, 133.63°) |
| OKLab | oklab(43.56% -0.0902 0.078) |
| OKLCH | oklch(43.56% 0.119 139.2) |
| XYZ | xyz(5.2518, 8.8986, 2.2513) |
| Luminance | 0.0890 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Deep Green
#02590F
ΔE00 3.87
Darkgreen
#006400
ΔE00 3.89
Forest
#0B5509
ΔE00 4.28
Forest Green
#2D5A27
ΔE00 4.40
Navy Green
#35530A
ΔE00 5.76
Pine
#2B5D34
ΔE00 6.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#296017 #4E1760
analogous
#4D6017 #296017 #176029
triadic
#296017 #172960 #601729
tetradic
#296017 #174D60 #4E1760 #602917
square
#296017 #174D60 #4E1760 #602917
split-complementary
#296017 #291760 #60174D
monochromatic
#0B1906 #142F0B #296017 #3E9123 #53C32F
Accessibility & contrast
On white
7.55
#296017 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#296017 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #296017
7.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##296017 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##296017 | 1.00 | 7.55 | 2.78 | 7.55 |
| #FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#63570B
Deuteranopia (green-blind)
#5C521E
Tritanopia (blue-blind)
#245D52
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #296017; /* rgb */ color: rgb(41, 96, 23); /* oklch */ color: oklch(43.6% 0.119 139.2);
Tailwind
colors: {
custom: {
50: '#698e59',
500: '#296017',
950: '#000000',
},
}SCSS
$custom: #296017; $custom-light: #698e59; $custom-dark: #000000;
JSON
{
"hex": "#296017",
"rgb": {
"r": 41,
"g": 96,
"b": 23
},
"hsl": {
"h": 105.205,
"s": 61.345,
"l": 23.333
},
"oklch": {
"l": 0.43555,
"c": 0.11929,
"h": 139.2
},
"luminance": 0.08899
}Semantic roles & 50–950 ramp
primary
#296017
secondary
#803C97
accent
#43E4BD
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79