#286236#286236
#286236 is a dark, moderate green. Relative luminance 0.095; OKLCH L 44.5% C 0.094 H 149.1°. Best body text is #FFFFFF at 7.26:1 contrast (WCAG AA passes).
Color values
| HEX | #286236 |
|---|---|
| RGB | rgb(40, 98, 54) |
| HSL | hsl(134, 42%, 27%) |
| HSV | hsv(134, 59%, 38%) |
| CMYK | cmyk(59.2%, 0%, 44.9%, 61.6%) |
| CIE-LAB | lab(36.84, -29.70, 19.47) |
| CIE-LCH | lch(36.84, 35.51, 146.75°) |
| OKLab | oklab(44.54% -0.0804 0.0481) |
| OKLCH | oklch(44.54% 0.094 149.1) |
| XYZ | xyz(5.9082, 9.4523, 5.0024) |
| Luminance | 0.0945 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 1.86
Spruce
#0A5F38
ΔE00 3.35
Hunter Green
#355E3B
ΔE00 3.37
Forest Green
#2D5A27
ΔE00 4.02
Deep Green
#02590F
ΔE00 7.22
Forest
#0B5509
ΔE00 8.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286236 #622854
analogous
#376228 #286236 #286253
triadic
#286236 #362862 #623628
tetradic
#286236 #283762 #622854 #625328
square
#286236 #283762 #622854 #625328
split-complementary
#286236 #532862 #622837
monochromatic
#09160C #16371E #286236 #3A8D4E #4EB767
Accessibility & contrast
On white
7.26
#286236 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#286236 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286236
7.26:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286236 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286236 | 1.00 | 7.26 | 2.89 | 7.26 |
| #FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.26 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635A33
Deuteranopia (green-blind)
#5B5539
Tritanopia (blue-blind)
#1B6057
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #286236; /* rgb */ color: rgb(40, 98, 54); /* oklch */ color: oklch(44.5% 0.094 149.1);
Tailwind
colors: {
custom: {
50: '#688f6d',
500: '#286236',
950: '#000000',
},
}SCSS
$custom: #286236; $custom-light: #688f6d; $custom-dark: #000000;
JSON
{
"hex": "#286236",
"rgb": {
"r": 40,
"g": 98,
"b": 54
},
"hsl": {
"h": 134.483,
"s": 42.029,
"l": 27.059
},
"oklch": {
"l": 0.44536,
"c": 0.0937,
"h": 149.1
},
"luminance": 0.09453
}Semantic roles & 50–950 ramp
primary
#286236
secondary
#955184
accent
#56B4D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C07
muted
#7A7D7A