#296812#296812
#296812 is a mid, vivid green. Relative luminance 0.104; OKLCH L 45.8% C 0.133 H 139.1°. Best body text is #FFFFFF at 6.81:1 contrast (WCAG AA passes).
Color values
| HEX | #296812 |
|---|---|
| RGB | rgb(41, 104, 18) |
| HSL | hsl(104, 70%, 24%) |
| HSV | hsv(104, 83%, 41%) |
| CMYK | cmyk(60.6%, 0%, 82.7%, 59.2%) |
| CIE-LAB | lab(38.58, -36.45, 39.07) |
| CIE-LCH | lch(38.58, 53.44, 133.01°) |
| OKLab | oklab(45.85% -0.1004 0.087) |
| OKLCH | oklch(45.85% 0.133 139.1) |
| XYZ | xyz(5.9737, 10.4152, 2.2677) |
| Luminance | 0.1042 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.11
Deep Green
#02590F
ΔE00 5.90
Forest
#0B5509
ΔE00 6.61
Forest Green
#2D5A27
ΔE00 7.05
Tree Green
#2A7E19
ΔE00 7.51
Camouflage Green
#4B6113
ΔE00 7.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#296812 #511268
analogous
#546812 #296812 #126826
triadic
#296812 #122968 #681229
tetradic
#296812 #125468 #511268 #682612
square
#296812 #125468 #511268 #682612
split-complementary
#296812 #261268 #681254
monochromatic
#0A1A05 #143409 #296812 #3E9C1B #52D024
Accessibility & contrast
On white
6.81
#296812 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#296812 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #296812
6.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##296812 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##296812 | 1.00 | 6.81 | 3.08 | 6.81 |
| #FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6B5E00
Deuteranopia (green-blind)
#63591C
Tritanopia (blue-blind)
#226458
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #296812; /* rgb */ color: rgb(41, 104, 18); /* oklch */ color: oklch(45.8% 0.133 139.1);
Tailwind
colors: {
custom: {
50: '#6b9458',
500: '#296812',
950: '#000000',
},
}SCSS
$custom: #296812; $custom-light: #6b9458; $custom-dark: #000000;
JSON
{
"hex": "#296812",
"rgb": {
"r": 41,
"g": 104,
"b": 18
},
"hsl": {
"h": 103.953,
"s": 70.492,
"l": 23.922
},
"oklch": {
"l": 0.45846,
"c": 0.13289,
"h": 139.1
},
"luminance": 0.10416
}Semantic roles & 50–950 ramp
primary
#296812
secondary
#8336A0
accent
#3BEDBD
background
#F6F9F5
surface
#ECF1E9
border
#C7CBC5
text
#070D04
muted
#7A7E79