#296312#296312
#296312 is a dark, vivid green. Relative luminance 0.094; OKLCH L 44.4% C 0.126 H 138.7°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #296312 |
|---|---|
| RGB | rgb(41, 99, 18) |
| HSL | hsl(103, 69%, 23%) |
| HSV | hsv(103, 82%, 39%) |
| CMYK | cmyk(58.6%, 0%, 81.8%, 61.2%) |
| CIE-LAB | lab(36.81, -34.43, 37.38) |
| CIE-LCH | lch(36.81, 50.82, 132.64°) |
| OKLab | oklab(44.39% -0.095 0.0835) |
| OKLCH | oklch(44.39% 0.126 138.7) |
| XYZ | xyz(5.4853, 9.4383, 2.1049) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | warm |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.16
Deep Green
#02590F
ΔE00 4.66
Forest
#0B5509
ΔE00 5.16
Forest Green
#2D5A27
ΔE00 5.74
Navy Green
#35530A
ΔE00 6.42
Camouflage Green
#4B6113
ΔE00 7.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#296312 #4C1263
analogous
#516312 #296312 #126323
triadic
#296312 #122963 #631229
tetradic
#296312 #125163 #4C1263 #632312
square
#296312 #125163 #4C1263 #632312
split-complementary
#296312 #231263 #631251
monochromatic
#0B1A05 #142F09 #296312 #3E971B #54CB25
Accessibility & contrast
On white
7.27
#296312 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#296312 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #296312
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##296312 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##296312 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665A01
Deuteranopia (green-blind)
#5F551B
Tritanopia (blue-blind)
#235F54
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #296312; /* rgb */ color: rgb(41, 99, 18); /* oklch */ color: oklch(44.4% 0.126 138.7);
Tailwind
colors: {
custom: {
50: '#6a9057',
500: '#296312',
950: '#000000',
},
}SCSS
$custom: #296312; $custom-light: #6a9057; $custom-dark: #000000;
JSON
{
"hex": "#296312",
"rgb": {
"r": 41,
"g": 99,
"b": 18
},
"hsl": {
"h": 102.963,
"s": 69.231,
"l": 22.941
},
"oklch": {
"l": 0.44391,
"c": 0.12647,
"h": 138.7
},
"luminance": 0.09439
}Semantic roles & 50–950 ramp
primary
#296312
secondary
#7E369B
accent
#3CECBA
background
#F6F8F5
surface
#ECF0E9
border
#C7CBC5
text
#070C03
muted
#7A7D78