#286228#286228
#286228 is a dark, moderate green. Relative luminance 0.093; OKLCH L 44.3% C 0.108 H 143.5°. Best body text is #FFFFFF at 7.32:1 contrast (WCAG AA passes).
Color values
| HEX | #286228 |
|---|---|
| RGB | rgb(40, 98, 40) |
| HSL | hsl(120, 42%, 27%) |
| HSV | hsv(120, 59%, 38%) |
| CMYK | cmyk(59.2%, 0%, 59.2%, 61.6%) |
| CIE-LAB | lab(36.63, -32.00, 27.07) |
| CIE-LCH | lch(36.63, 41.91, 139.77°) |
| OKLab | oklab(44.29% -0.087 0.0644) |
| OKLCH | oklch(44.29% 0.108 143.5) |
| XYZ | xyz(5.6255, 9.3392, 3.5133) |
| Luminance | 0.0934 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 3.04
Pine
#2B5D34
ΔE00 4.20
Deep Green
#02590F
ΔE00 4.72
Forest
#0B5509
ΔE00 5.56
Darkgreen
#006400
ΔE00 5.81
Hunter Green
#355E3B
ΔE00 5.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286228 #622862
analogous
#456228 #286228 #286245
triadic
#286228 #282862 #622828
tetradic
#286228 #284562 #622862 #624528
square
#286228 #284562 #622862 #624528
split-complementary
#286228 #452862 #622845
monochromatic
#091609 #163716 #286228 #3A8D3A #4EB74E
Accessibility & contrast
On white
7.32
#286228 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.87
#286228 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286228
7.32:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286228 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286228 | 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)
#645922
Deuteranopia (green-blind)
#5C542C
Tritanopia (blue-blind)
#1F5F55
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #286228; /* rgb */ color: rgb(40, 98, 40); /* oklch */ color: oklch(44.3% 0.108 143.5);
Tailwind
colors: {
custom: {
50: '#688f64',
500: '#286228',
950: '#000000',
},
}SCSS
$custom: #286228; $custom-light: #688f64; $custom-dark: #000000;
JSON
{
"hex": "#286228",
"rgb": {
"r": 40,
"g": 98,
"b": 40
},
"hsl": {
"h": 120,
"s": 42.029,
"l": 27.059
},
"oklch": {
"l": 0.44293,
"c": 0.10821,
"h": 143.5
},
"luminance": 0.0934
}Semantic roles & 50–950 ramp
primary
#286228
secondary
#955195
accent
#56D2D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#070C05
muted
#7A7D7A