#296227#296227
#296227 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.3% C 0.109 H 142.9°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #296227 |
|---|---|
| RGB | rgb(41, 98, 39) |
| HSL | hsl(118, 43%, 27%) |
| HSV | hsv(118, 60%, 38%) |
| CMYK | cmyk(58.2%, 0%, 60.2%, 61.6%) |
| CIE-LAB | lab(36.65, -31.85, 27.64) |
| CIE-LCH | lch(36.65, 42.17, 139.05°) |
| OKLab | oklab(44.32% -0.0867 0.0656) |
| OKLCH | oklch(44.32% 0.109 142.9) |
| XYZ | xyz(5.6480, 9.3528, 3.4267) |
| Luminance | 0.0935 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.05
Pine
#2B5D34
ΔE00 4.42
Deep Green
#02590F
ΔE00 4.67
Forest
#0B5509
ΔE00 5.48
Darkgreen
#006400
ΔE00 5.64
Hunter Green
#355E3B
ΔE00 6.07
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#296227 #602762
analogous
#476227 #296227 #276243
triadic
#296227 #272962 #622729
tetradic
#296227 #274762 #602762 #624327
square
#296227 #274762 #602762 #624327
split-complementary
#296227 #432762 #622747
monochromatic
#091609 #173616 #296227 #3B8E38 #4FB84C
Accessibility & contrast
On white
7.32
#296227 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#296227 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #296227
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##296227 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##296227 | 1.00 | 7.32 | 2.87 | 7.32 |
| #FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.32 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645921
Deuteranopia (green-blind)
#5D542B
Tritanopia (blue-blind)
#215F55
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #296227; /* rgb */ color: rgb(41, 98, 39); /* oklch */ color: oklch(44.3% 0.109 142.9);
Tailwind
colors: {
custom: {
50: '#698f63',
500: '#296227',
950: '#000000',
},
}SCSS
$custom: #296227; $custom-light: #698f63; $custom-dark: #000000;
JSON
{
"hex": "#296227",
"rgb": {
"r": 41,
"g": 98,
"b": 39
},
"hsl": {
"h": 117.966,
"s": 43.066,
"l": 26.863
},
"oklch": {
"l": 0.44321,
"c": 0.10866,
"h": 142.9
},
"luminance": 0.09353
}Semantic roles & 50–950 ramp
primary
#296227
secondary
#935095
accent
#55D3CF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C05
muted
#7A7D7A