#286142#286142
#286142 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.5% C 0.079 H 157.1°. Best body text is #FFFFFF at 7.29:1 contrast (WCAG AA passes).
Color values
| HEX | #286142 |
|---|---|
| RGB | rgb(40, 97, 66) |
| HSL | hsl(147, 42%, 27%) |
| HSV | hsv(147, 59%, 38%) |
| CMYK | cmyk(58.8%, 0%, 32%, 62%) |
| CIE-LAB | lab(36.73, -26.75, 12.18) |
| CIE-LCH | lch(36.73, 29.39, 155.51°) |
| OKLab | oklab(44.52% -0.073 0.0309) |
| OKLCH | oklch(44.52% 0.079 157.1) |
| XYZ | xyz(6.1326, 9.3933, 6.6431) |
| Luminance | 0.0939 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 3.32
Spruce
#0A5F38
ΔE00 3.45
Pine
#2B5D34
ΔE00 3.79
Forest Green
#2D5A27
ΔE00 7.00
Dark Green Blue
#1F6357
ΔE00 7.52
Evergreen
#05472A
ΔE00 8.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286142 #612847
analogous
#2B6128 #286142 #28615F
triadic
#286142 #422861 #614228
tetradic
#286142 #282B61 #612847 #615F28
square
#286142 #282B61 #612847 #615F28
split-complementary
#286142 #5F2861 #61282B
monochromatic
#09160F #163625 #286142 #3A8C5F #4EB67D
Accessibility & contrast
On white
7.29
#286142 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.88
#286142 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286142
7.29:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286142 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286142 | 1.00 | 7.29 | 2.88 | 7.29 |
| #FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.88 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.29 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#605A40
Deuteranopia (green-blind)
#585444
Tritanopia (blue-blind)
#156059
Achromatopsia (no color)
#565656
Design tokens & code
CSS
--color: #286142; /* rgb */ color: rgb(40, 97, 66); /* oklch */ color: oklch(44.5% 0.079 157.1);
Tailwind
colors: {
custom: {
50: '#678e76',
500: '#286142',
950: '#000000',
},
}SCSS
$custom: #286142; $custom-light: #678e76; $custom-dark: #000000;
JSON
{
"hex": "#286142",
"rgb": {
"r": 40,
"g": 97,
"b": 66
},
"hsl": {
"h": 147.368,
"s": 41.606,
"l": 26.863
},
"oklch": {
"l": 0.44524,
"c": 0.0793,
"h": 157.1
},
"luminance": 0.09394
}Semantic roles & 50–950 ramp
primary
#286142
secondary
#945175
accent
#5699D1
background
#F6F8F7
surface
#EBF0ED
border
#C6CBC8
text
#060C08
muted
#7A7D7B