#286222#286222
#286222 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.2% C 0.114 H 141.8°. Best body text is #FFFFFF at 7.34:1 contrast (WCAG AA passes).
Color values
| HEX | #286222 |
|---|---|
| RGB | rgb(40, 98, 34) |
| HSL | hsl(114, 48%, 26%) |
| HSV | hsv(114, 65%, 38%) |
| CMYK | cmyk(59.2%, 0%, 65.3%, 61.6%) |
| CIE-LAB | lab(36.56, -32.79, 30.10) |
| CIE-LCH | lch(36.56, 44.51, 137.45°) |
| OKLab | oklab(44.21% -0.0894 0.0704) |
| OKLCH | oklch(44.21% 0.114 141.8) |
| XYZ | xyz(5.5312, 9.3015, 3.0170) |
| Luminance | 0.0930 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.55
Deep Green
#02590F
ΔE00 4.19
Darkgreen
#006400
ΔE00 4.75
Forest
#0B5509
ΔE00 4.99
Pine
#2B5D34
ΔE00 5.36
Hunter Green
#355E3B
ΔE00 7.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286222 #5C2262
analogous
#486222 #286222 #22623C
triadic
#286222 #222862 #622228
tetradic
#286222 #224862 #5C2262 #623C22
square
#286222 #224862 #5C2262 #623C22
split-complementary
#286222 #3C2262 #622248
monochromatic
#091708 #153512 #286222 #3B8F32 #4DBD42
Accessibility & contrast
On white
7.34
#286222 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.86
#286222 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286222
7.34:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286222 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286222 | 1.00 | 7.34 | 2.86 | 7.34 |
| #FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.34 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#64591B
Deuteranopia (green-blind)
#5D5427
Tritanopia (blue-blind)
#205F54
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #286222; /* rgb */ color: rgb(40, 98, 34); /* oklch */ color: oklch(44.2% 0.114 141.8);
Tailwind
colors: {
custom: {
50: '#698f60',
500: '#286222',
950: '#000000',
},
}SCSS
$custom: #286222; $custom-light: #698f60; $custom-dark: #000000;
JSON
{
"hex": "#286222",
"rgb": {
"r": 40,
"g": 98,
"b": 34
},
"hsl": {
"h": 114.375,
"s": 48.485,
"l": 25.882
},
"oklch": {
"l": 0.44212,
"c": 0.1138,
"h": 141.8
},
"luminance": 0.09302
}Semantic roles & 50–950 ramp
primary
#286222
secondary
#8F4A96
accent
#50D8CB
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C05
muted
#7A7D79