#286226#286226
#286226 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.3% C 0.110 H 142.9°. Best body text is #FFFFFF at 7.33:1 contrast (WCAG AA passes).
Color values
| HEX | #286226 |
|---|---|
| RGB | rgb(40, 98, 38) |
| HSL | hsl(118, 44%, 27%) |
| HSV | hsv(118, 61%, 38%) |
| CMYK | cmyk(59.2%, 0%, 61.2%, 61.6%) |
| CIE-LAB | lab(36.60, -32.27, 28.10) |
| CIE-LCH | lch(36.60, 42.79, 138.96°) |
| OKLab | oklab(44.27% -0.0878 0.0665) |
| OKLCH | oklch(44.27% 0.11 142.9) |
| XYZ | xyz(5.5923, 9.3259, 3.3387) |
| Luminance | 0.0933 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.17
Deep Green
#02590F
ΔE00 4.50
Pine
#2B5D34
ΔE00 4.60
Forest
#0B5509
ΔE00 5.34
Darkgreen
#006400
ΔE00 5.43
Hunter Green
#355E3B
ΔE00 6.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286226 #602662
analogous
#466226 #286226 #266242
triadic
#286226 #262862 #622628
tetradic
#286226 #264662 #602662 #624226
square
#286226 #264662 #602662 #624226
split-complementary
#286226 #422662 #622646
monochromatic
#091609 #163615 #286226 #3A8E37 #4DB94A
Accessibility & contrast
On white
7.33
#286226 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#286226 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286226
7.33:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286226 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286226 | 1.00 | 7.33 | 2.87 | 7.33 |
| #FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.87 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.33 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#645920
Deuteranopia (green-blind)
#5D542B
Tritanopia (blue-blind)
#1F5F55
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #286226; /* rgb */ color: rgb(40, 98, 38); /* oklch */ color: oklch(44.3% 0.110 142.9);
Tailwind
colors: {
custom: {
50: '#688f62',
500: '#286226',
950: '#000000',
},
}SCSS
$custom: #286226; $custom-light: #688f62; $custom-dark: #000000;
JSON
{
"hex": "#286226",
"rgb": {
"r": 40,
"g": 98,
"b": 38
},
"hsl": {
"h": 118,
"s": 44.118,
"l": 26.667
},
"oklch": {
"l": 0.44265,
"c": 0.11013,
"h": 142.9
},
"luminance": 0.09326
}Semantic roles & 50–950 ramp
primary
#286226
secondary
#934F95
accent
#54D4D0
background
#F6F8F5
surface
#EBF0EA
border
#C6CBC6
text
#070C05
muted
#7A7D79