#296128#296128
#296128 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.0% C 0.106 H 143.2°. Best body text is #FFFFFF at 7.41:1 contrast (WCAG AA passes).
Color values
| HEX | #296128 |
|---|---|
| RGB | rgb(41, 97, 40) |
| HSL | hsl(119, 42%, 27%) |
| HSV | hsv(119, 59%, 38%) |
| CMYK | cmyk(57.7%, 0%, 58.8%, 62%) |
| CIE-LAB | lab(36.32, -31.27, 26.71) |
| CIE-LCH | lch(36.32, 41.12, 139.50°) |
| OKLab | oklab(44.05% -0.085 0.0636) |
| OKLCH | oklch(44.05% 0.106 143.2) |
| XYZ | xyz(5.5719, 9.1735, 3.4841) |
| Luminance | 0.0917 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.64
Pine
#2B5D34
ΔE00 3.95
Deep Green
#02590F
ΔE00 4.70
Forest
#0B5509
ΔE00 5.46
Hunter Green
#355E3B
ΔE00 5.66
Spruce
#0A5F38
ΔE00 6.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#296128 #602861
analogous
#466128 #296128 #286144
triadic
#296128 #282961 #612829
tetradic
#296128 #284661 #602861 #614428
square
#296128 #284661 #602861 #614428
split-complementary
#296128 #442861 #612846
monochromatic
#091609 #173616 #296128 #3B8C3A #4FB64E
Accessibility & contrast
On white
7.41
#296128 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#296128 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #296128
7.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##296128 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##296128 | 1.00 | 7.41 | 2.83 | 7.41 |
| #FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635823
Deuteranopia (green-blind)
#5C542C
Tritanopia (blue-blind)
#215E54
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #296128; /* rgb */ color: rgb(41, 97, 40); /* oklch */ color: oklch(44.0% 0.106 143.2);
Tailwind
colors: {
custom: {
50: '#698e64',
500: '#296128',
950: '#000000',
},
}SCSS
$custom: #296128; $custom-light: #698e64; $custom-dark: #000000;
JSON
{
"hex": "#296128",
"rgb": {
"r": 41,
"g": 97,
"b": 40
},
"hsl": {
"h": 118.947,
"s": 41.606,
"l": 26.863
},
"oklch": {
"l": 0.44046,
"c": 0.10619,
"h": 143.2
},
"luminance": 0.09174
}Semantic roles & 50–950 ramp
primary
#296128
secondary
#935194
accent
#56D1CF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C05
muted
#7A7D7A