#286128#286128
#286128 is a dark, moderate green. Relative luminance 0.092; OKLCH L 44.0% C 0.107 H 143.5°. Best body text is #FFFFFF at 7.42:1 contrast (WCAG AA passes).
Color values
| HEX | #286128 |
|---|---|
| RGB | rgb(40, 97, 40) |
| HSL | hsl(120, 42%, 27%) |
| HSV | hsv(120, 59%, 38%) |
| CMYK | cmyk(58.8%, 0%, 58.8%, 62%) |
| CIE-LAB | lab(36.28, -31.56, 26.65) |
| CIE-LCH | lch(36.28, 41.31, 139.82°) |
| OKLab | oklab(44% -0.0858 0.0635) |
| OKLCH | oklch(44% 0.107 143.5) |
| XYZ | xyz(5.5325, 9.1532, 3.4823) |
| Luminance | 0.0915 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 2.70
Pine
#2B5D34
ΔE00 3.94
Deep Green
#02590F
ΔE00 4.64
Forest
#0B5509
ΔE00 5.43
Hunter Green
#355E3B
ΔE00 5.69
Spruce
#0A5F38
ΔE00 5.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286128 #612861
analogous
#456128 #286128 #286145
triadic
#286128 #282861 #612828
tetradic
#286128 #284561 #612861 #614528
square
#286128 #284561 #612861 #614528
split-complementary
#286128 #452861 #612845
monochromatic
#091609 #163616 #286128 #3A8C3A #4EB64E
Accessibility & contrast
On white
7.42
#286128 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.83
#286128 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286128
7.42:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286128 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286128 | 1.00 | 7.42 | 2.83 | 7.42 |
| #FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.42 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635823
Deuteranopia (green-blind)
#5C532C
Tritanopia (blue-blind)
#1F5E54
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #286128; /* rgb */ color: rgb(40, 97, 40); /* oklch */ color: oklch(44.0% 0.107 143.5);
Tailwind
colors: {
custom: {
50: '#688e64',
500: '#286128',
950: '#000000',
},
}SCSS
$custom: #286128; $custom-light: #688e64; $custom-dark: #000000;
JSON
{
"hex": "#286128",
"rgb": {
"r": 40,
"g": 97,
"b": 40
},
"hsl": {
"h": 120,
"s": 41.606,
"l": 26.863
},
"oklch": {
"l": 0.44004,
"c": 0.10671,
"h": 143.5
},
"luminance": 0.09154
}Semantic roles & 50–950 ramp
primary
#286128
secondary
#945194
accent
#56D1D1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C05
muted
#7A7D7A