#286728#286728
#286728 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.7% C 0.116 H 143.4°. Best body text is #FFFFFF at 6.86:1 contrast (WCAG AA passes).
Color values
| HEX | #286728 |
|---|---|
| RGB | rgb(40, 103, 40) |
| HSL | hsl(120, 44%, 28%) |
| HSV | hsv(120, 61%, 40%) |
| CMYK | cmyk(61.2%, 0%, 61.2%, 59.6%) |
| CIE-LAB | lab(38.38, -34.14, 29.14) |
| CIE-LCH | lch(38.38, 44.88, 139.52°) |
| OKLab | oklab(45.74% -0.0928 0.0689) |
| OKLCH | oklch(45.74% 0.116 143.4) |
| XYZ | xyz(6.1080, 10.3043, 3.6741) |
| Luminance | 0.1031 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 4.77
Darkgreen
#006400
ΔE00 5.17
Deep Green
#02590F
ΔE00 5.48
Pine
#2B5D34
ΔE00 5.65
Forest
#0B5509
ΔE00 6.51
Spruce
#0A5F38
ΔE00 7.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286728 #672867
analogous
#476728 #286728 #286747
triadic
#286728 #282867 #672828
tetradic
#286728 #284767 #672867 #674728
square
#286728 #284767 #672867 #674728
split-complementary
#286728 #472867 #672847
monochromatic
#091609 #173B17 #286728 #399339 #4FBB4F
Accessibility & contrast
On white
6.86
#286728 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.06
#286728 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286728
6.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286728 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286728 | 1.00 | 6.86 | 3.06 | 6.86 |
| #FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.06 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#695E22
Deuteranopia (green-blind)
#61582D
Tritanopia (blue-blind)
#1D6459
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #286728; /* rgb */ color: rgb(40, 103, 40); /* oklch */ color: oklch(45.7% 0.116 143.4);
Tailwind
colors: {
custom: {
50: '#699364',
500: '#286728',
950: '#000000',
},
}SCSS
$custom: #286728; $custom-light: #699364; $custom-dark: #000000;
JSON
{
"hex": "#286728",
"rgb": {
"r": 40,
"g": 103,
"b": 40
},
"hsl": {
"h": 120,
"s": 44.056,
"l": 28.039
},
"oklch": {
"l": 0.45737,
"c": 0.11555,
"h": 143.4
},
"luminance": 0.10305
}Semantic roles & 50–950 ramp
primary
#286728
secondary
#9A519A
accent
#54D4D4
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#070D05
muted
#7A7E7A