#296012#296012
#296012 is a dark, vivid green. Relative luminance 0.089; OKLCH L 43.5% C 0.123 H 138.4°. Best body text is #FFFFFF at 7.56:1 contrast (WCAG AA passes).
Color values
| HEX | #296012 |
|---|---|
| RGB | rgb(41, 96, 18) |
| HSL | hsl(102, 68%, 22%) |
| HSV | hsv(102, 81%, 38%) |
| CMYK | cmyk(57.3%, 0%, 81.3%, 62.4%) |
| CIE-LAB | lab(35.75, -33.18, 36.35) |
| CIE-LCH | lch(35.75, 49.22, 132.39°) |
| OKLab | oklab(43.52% -0.0916 0.0813) |
| OKLCH | oklch(43.52% 0.123 138.4) |
| XYZ | xyz(5.2063, 8.8804, 2.0119) |
| Luminance | 0.0888 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.61
Deep Green
#02590F
ΔE00 4.09
Forest
#0B5509
ΔE00 4.39
Forest Green
#2D5A27
ΔE00 5.05
Navy Green
#35530A
ΔE00 5.57
Camouflage Green
#4B6113
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#296012 #491260
analogous
#506012 #296012 #126022
triadic
#296012 #122960 #601229
tetradic
#296012 #125060 #491260 #602212
square
#296012 #125060 #491260 #602212
split-complementary
#296012 #221260 #601250
monochromatic
#0B1A05 #132C08 #296012 #3F941C #55C725
Accessibility & contrast
On white
7.56
#296012 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.78
#296012 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #296012
7.56:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##296012 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##296012 | 1.00 | 7.56 | 2.78 | 7.56 |
| #FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.56 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635702
Deuteranopia (green-blind)
#5C521A
Tritanopia (blue-blind)
#245C51
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #296012; /* rgb */ color: rgb(41, 96, 18); /* oklch */ color: oklch(43.5% 0.123 138.4);
Tailwind
colors: {
custom: {
50: '#6a8e56',
500: '#296012',
950: '#000000',
},
}SCSS
$custom: #296012; $custom-light: #6a8e56; $custom-dark: #000000;
JSON
{
"hex": "#296012",
"rgb": {
"r": 41,
"g": 96,
"b": 18
},
"hsl": {
"h": 102.308,
"s": 68.421,
"l": 22.353
},
"oklch": {
"l": 0.43515,
"c": 0.12253,
"h": 138.4
},
"luminance": 0.08881
}Semantic roles & 50–950 ramp
primary
#296012
secondary
#7B3698
accent
#3DEBB8
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78