#286628#286628
#286628 is a mid, moderate green. Relative luminance 0.101; OKLCH L 45.4% C 0.114 H 143.4°. Best body text is #FFFFFF at 6.95:1 contrast (WCAG AA passes).
Color values
| HEX | #286628 |
|---|---|
| RGB | rgb(40, 102, 40) |
| HSL | hsl(120, 44%, 28%) |
| HSV | hsv(120, 61%, 40%) |
| CMYK | cmyk(60.8%, 0%, 60.8%, 60%) |
| CIE-LAB | lab(38.03, -33.71, 28.72) |
| CIE-LCH | lch(38.03, 44.29, 139.57°) |
| OKLab | oklab(45.45% -0.0916 0.068) |
| OKLCH | oklch(45.45% 0.114 143.4) |
| XYZ | xyz(6.0091, 10.1065, 3.6412) |
| Luminance | 0.1011 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.42
Darkgreen
#006400
ΔE00 5.25
Deep Green
#02590F
ΔE00 5.28
Pine
#2B5D34
ΔE00 5.35
Forest
#0B5509
ΔE00 6.29
Spruce
#0A5F38
ΔE00 6.81
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286628 #662866
analogous
#476628 #286628 #286647
triadic
#286628 #282866 #662828
tetradic
#286628 #284766 #662866 #664728
square
#286628 #284766 #662866 #664728
split-complementary
#286628 #472866 #662847
monochromatic
#091609 #173A17 #286628 #399239 #4FBA4F
Accessibility & contrast
On white
6.95
#286628 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.02
#286628 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286628
6.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286628 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286628 | 1.00 | 6.95 | 3.02 | 6.95 |
| #FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.02 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685D22
Deuteranopia (green-blind)
#60572D
Tritanopia (blue-blind)
#1E6358
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #286628; /* rgb */ color: rgb(40, 102, 40); /* oklch */ color: oklch(45.4% 0.114 143.4);
Tailwind
colors: {
custom: {
50: '#699264',
500: '#286628',
950: '#000000',
},
}SCSS
$custom: #286628; $custom-light: #699264; $custom-dark: #000000;
JSON
{
"hex": "#286628",
"rgb": {
"r": 40,
"g": 102,
"b": 40
},
"hsl": {
"h": 120,
"s": 43.662,
"l": 27.843
},
"oklch": {
"l": 0.45449,
"c": 0.1141,
"h": 143.4
},
"luminance": 0.10107
}Semantic roles & 50–950 ramp
primary
#286628
secondary
#995199
accent
#54D3D3
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D05
muted
#7A7E7A