#296212#296212
#296212 is a dark, vivid green. Relative luminance 0.092; OKLCH L 44.1% C 0.125 H 138.6°. Best body text is #FFFFFF at 7.37:1 contrast (WCAG AA passes).
Color values
| HEX | #296212 |
|---|---|
| RGB | rgb(41, 98, 18) |
| HSL | hsl(103, 69%, 23%) |
| HSV | hsv(103, 82%, 38%) |
| CMYK | cmyk(58.2%, 0%, 81.6%, 61.6%) |
| CIE-LAB | lab(36.46, -34.02, 37.04) |
| CIE-LCH | lch(36.46, 50.29, 132.56°) |
| OKLab | oklab(44.1% -0.0939 0.0828) |
| OKLCH | oklch(44.1% 0.125 138.6) |
| XYZ | xyz(5.3911, 9.2500, 2.0735) |
| Luminance | 0.0925 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.28
Deep Green
#02590F
ΔE00 4.45
Forest
#0B5509
ΔE00 4.89
Forest Green
#2D5A27
ΔE00 5.50
Navy Green
#35530A
ΔE00 6.13
Camouflage Green
#4B6113
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#296212 #4B1262
analogous
#516212 #296212 #126223
triadic
#296212 #122962 #621229
tetradic
#296212 #125162 #4B1262 #622312
square
#296212 #125162 #4B1262 #622312
split-complementary
#296212 #231262 #621251
monochromatic
#0B1A05 #132E09 #296212 #3F961B #54C925
Accessibility & contrast
On white
7.37
#296212 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.85
#296212 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #296212
7.37:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##296212 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##296212 | 1.00 | 7.37 | 2.85 | 7.37 |
| #FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.37 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#655901
Deuteranopia (green-blind)
#5E541B
Tritanopia (blue-blind)
#245E53
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #296212; /* rgb */ color: rgb(41, 98, 18); /* oklch */ color: oklch(44.1% 0.125 138.6);
Tailwind
colors: {
custom: {
50: '#6a8f57',
500: '#296212',
950: '#000000',
},
}SCSS
$custom: #296212; $custom-light: #6a8f57; $custom-dark: #000000;
JSON
{
"hex": "#296212",
"rgb": {
"r": 41,
"g": 98,
"b": 18
},
"hsl": {
"h": 102.75,
"s": 68.966,
"l": 22.745
},
"oklch": {
"l": 0.44099,
"c": 0.12516,
"h": 138.6
},
"luminance": 0.0925
}Semantic roles & 50–950 ramp
primary
#296212
secondary
#7D369A
accent
#3CECB9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C03
muted
#7A7D78