#286235#286235
#286235 is a dark, moderate green. Relative luminance 0.094; OKLCH L 44.5% C 0.095 H 148.6°. Best body text is #FFFFFF at 7.27:1 contrast (WCAG AA passes).
Color values
| HEX | #286235 |
|---|---|
| RGB | rgb(40, 98, 53) |
| HSL | hsl(133, 42%, 27%) |
| HSV | hsv(133, 59%, 38%) |
| CMYK | cmyk(59.2%, 0%, 45.9%, 61.6%) |
| CIE-LAB | lab(36.82, -29.88, 20.03) |
| CIE-LCH | lch(36.82, 35.98, 146.16°) |
| OKLab | oklab(44.52% -0.0809 0.0494) |
| OKLCH | oklch(44.52% 0.095 148.6) |
| XYZ | xyz(5.8850, 9.4430, 4.8800) |
| Luminance | 0.0944 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 1.92
Spruce
#0A5F38
ΔE00 3.51
Hunter Green
#355E3B
ΔE00 3.52
Forest Green
#2D5A27
ΔE00 3.84
Deep Green
#02590F
ΔE00 7.00
Forest
#0B5509
ΔE00 7.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286235 #622855
analogous
#386228 #286235 #286252
triadic
#286235 #352862 #623528
tetradic
#286235 #283862 #622855 #625228
square
#286235 #283862 #622855 #625228
split-complementary
#286235 #522862 #622838
monochromatic
#09160C #16371D #286235 #3A8D4D #4EB765
Accessibility & contrast
On white
7.27
#286235 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.89
#286235 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286235
7.27:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286235 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286235 | 1.00 | 7.27 | 2.89 | 7.27 |
| #FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.89 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.27 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#635A32
Deuteranopia (green-blind)
#5B5538
Tritanopia (blue-blind)
#1B6057
Achromatopsia (no color)
#575757
Design tokens & code
CSS
--color: #286235; /* rgb */ color: rgb(40, 98, 53); /* oklch */ color: oklch(44.5% 0.095 148.6);
Tailwind
colors: {
custom: {
50: '#688f6d',
500: '#286235',
950: '#000000',
},
}SCSS
$custom: #286235; $custom-light: #688f6d; $custom-dark: #000000;
JSON
{
"hex": "#286235",
"rgb": {
"r": 40,
"g": 98,
"b": 53
},
"hsl": {
"h": 133.448,
"s": 42.029,
"l": 27.059
},
"oklch": {
"l": 0.44516,
"c": 0.09477,
"h": 148.6
},
"luminance": 0.09444
}Semantic roles & 50–950 ramp
primary
#286235
secondary
#955186
accent
#56B6D2
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C07
muted
#7A7D7A