#296F12#296F12
#296F12 is a mid, vivid green. Relative luminance 0.119; OKLCH L 47.9% C 0.142 H 139.6°. Best body text is #FFFFFF at 6.22:1 contrast (WCAG AA passes).
Color values
| HEX | #296F12 |
|---|---|
| RGB | rgb(41, 111, 18) |
| HSL | hsl(105, 72%, 25%) |
| HSV | hsv(105, 84%, 44%) |
| CMYK | cmyk(63.1%, 0%, 83.8%, 56.5%) |
| CIE-LAB | lab(41.03, -39.19, 41.39) |
| CIE-LCH | lch(41.03, 57.00, 133.44°) |
| OKLab | oklab(47.87% -0.1078 0.0919) |
| OKLCH | oklch(47.87% 0.142 139.6) |
| XYZ | xyz(6.7078, 11.8834, 2.5124) |
| Luminance | 0.1188 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.43
Tree Green
#2A7E19
ΔE00 5.15
Green
#008000
ΔE00 6.27
Darkish Green
#287C37
ΔE00 6.53
Dark Grass Green
#388004
ΔE00 6.58
Deep Green
#02590F
ΔE00 7.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#296F12 #58126F
analogous
#586F12 #296F12 #126F29
triadic
#296F12 #12296F #6F1229
tetradic
#296F12 #12586F #58126F #6F2912
square
#296F12 #12586F #58126F #6F2912
split-complementary
#296F12 #29126F #6F1258
monochromatic
#0A1A04 #163A09 #296F12 #3CA41B #50D823
Accessibility & contrast
On white
6.22
#296F12 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.38
#296F12 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #296F12
6.22:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##296F12 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##296F12 | 1.00 | 6.22 | 3.38 | 6.22 |
| #FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.22 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726400
Deuteranopia (green-blind)
#6A5F1D
Tritanopia (blue-blind)
#206B5E
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #296f12; /* rgb */ color: rgb(41, 111, 18); /* oklch */ color: oklch(47.9% 0.142 139.6);
Tailwind
colors: {
custom: {
50: '#6d9959',
500: '#296f12',
950: '#000000',
},
}SCSS
$custom: #296f12; $custom-light: #6d9959; $custom-dark: #000000;
JSON
{
"hex": "#296f12",
"rgb": {
"r": 41,
"g": 111,
"b": 18
},
"hsl": {
"h": 105.161,
"s": 72.093,
"l": 25.294
},
"oklch": {
"l": 0.47873,
"c": 0.14163,
"h": 139.6
},
"luminance": 0.11884
}Semantic roles & 50–950 ramp
primary
#296F12
secondary
#8B37A6
accent
#39EFC2
background
#F6F9F5
surface
#ECF2E9
border
#C7CCC5
text
#080E04
muted
#7A7E79