#296912#296912
#296912 is a mid, vivid green. Relative luminance 0.106; OKLCH L 46.1% C 0.134 H 139.2°. Best body text is #FFFFFF at 6.72:1 contrast (WCAG AA passes).
Color values
| HEX | #296912 |
|---|---|
| RGB | rgb(41, 105, 18) |
| HSL | hsl(104, 71%, 24%) |
| HSV | hsv(104, 83%, 41%) |
| CMYK | cmyk(61%, 0%, 82.9%, 58.8%) |
| CIE-LAB | lab(38.93, -36.85, 39.41) |
| CIE-LCH | lch(38.93, 53.95, 133.08°) |
| OKLab | oklab(46.14% -0.1015 0.0877) |
| OKLCH | oklch(46.14% 0.134 139.2) |
| XYZ | xyz(6.0750, 10.6177, 2.3014) |
| Luminance | 0.1062 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.22
Deep Green
#02590F
ΔE00 6.18
Forest
#0B5509
ΔE00 6.92
Tree Green
#2A7E19
ΔE00 7.17
Forest Green
#2D5A27
ΔE00 7.33
Camouflage Green
#4B6113
ΔE00 7.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#296912 #521269
analogous
#556912 #296912 #126927
triadic
#296912 #122969 #691229
tetradic
#296912 #125569 #521269 #692712
square
#296912 #125569 #521269 #692712
split-complementary
#296912 #271269 #691255
monochromatic
#0A1A04 #153509 #296912 #3D9D1B #52D124
Accessibility & contrast
On white
6.72
#296912 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.12
#296912 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #296912
6.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##296912 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##296912 | 1.00 | 6.72 | 3.12 | 6.72 |
| #FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.12 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.72 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C5F00
Deuteranopia (green-blind)
#645A1C
Tritanopia (blue-blind)
#226559
Achromatopsia (no color)
#5C5C5C
Design tokens & code
CSS
--color: #296912; /* rgb */ color: rgb(41, 105, 18); /* oklch */ color: oklch(46.1% 0.134 139.2);
Tailwind
colors: {
custom: {
50: '#6b9458',
500: '#296912',
950: '#000000',
},
}SCSS
$custom: #296912; $custom-light: #6b9458; $custom-dark: #000000;
JSON
{
"hex": "#296912",
"rgb": {
"r": 41,
"g": 105,
"b": 18
},
"hsl": {
"h": 104.138,
"s": 70.732,
"l": 24.118
},
"oklch": {
"l": 0.46136,
"c": 0.13416,
"h": 139.2
},
"luminance": 0.10618
}Semantic roles & 50–950 ramp
primary
#296912
secondary
#8436A1
accent
#3AEDBE
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79