#286642#286642
#286642 is a mid, moderate green. Relative luminance 0.103; OKLCH L 45.9% C 0.087 H 155.2°. Best body text is #FFFFFF at 6.84:1 contrast (WCAG AA passes).
Color values
| HEX | #286642 |
|---|---|
| RGB | rgb(40, 102, 66) |
| HSL | hsl(145, 44%, 28%) |
| HSV | hsv(145, 61%, 40%) |
| CMYK | cmyk(60.8%, 0%, 35.3%, 60%) |
| CIE-LAB | lab(38.46, -29.12, 14.53) |
| CIE-LCH | lch(38.46, 32.55, 153.48°) |
| OKLab | oklab(45.94% -0.0792 0.0366) |
| OKLCH | oklch(45.94% 0.087 155.2) |
| XYZ | xyz(6.6093, 10.3466, 6.8020) |
| Luminance | 0.1035 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.42
Pine
#2B5D34
ΔE00 3.88
Hunter Green
#355E3B
ΔE00 3.92
Forest Green
#2D5A27
ΔE00 6.80
Dark Green Blue
#1F6357
ΔE00 8.80
Darkish Green
#287C37
ΔE00 9.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286642 #66284C
analogous
#2D6628 #286642 #286661
triadic
#286642 #422866 #664228
tetradic
#286642 #282D66 #66284C #666128
square
#286642 #282D66 #66284C #666128
split-complementary
#286642 #612866 #66282D
monochromatic
#09160E #173A26 #286642 #39925E #4FBA7C
Accessibility & contrast
On white
6.84
#286642 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.07
#286642 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286642
6.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286642 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286642 | 1.00 | 6.84 | 3.07 | 6.84 |
| #FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.07 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#665E40
Deuteranopia (green-blind)
#5D5844
Tritanopia (blue-blind)
#13655D
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #286642; /* rgb */ color: rgb(40, 102, 66); /* oklch */ color: oklch(45.9% 0.087 155.2);
Tailwind
colors: {
custom: {
50: '#689276',
500: '#286642',
950: '#000000',
},
}SCSS
$custom: #286642; $custom-light: #689276; $custom-dark: #000000;
JSON
{
"hex": "#286642",
"rgb": {
"r": 40,
"g": 102,
"b": 66
},
"hsl": {
"h": 145.161,
"s": 43.662,
"l": 27.843
},
"oklch": {
"l": 0.45936,
"c": 0.08726,
"h": 155.2
},
"luminance": 0.10347
}Semantic roles & 50–950 ramp
primary
#286642
secondary
#99517B
accent
#549ED3
background
#F6F9F7
surface
#EBF1ED
border
#C6CBC8
text
#060D08
muted
#7A7E7B