#285B2E#285B2E
#285B2E is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.4% C 0.091 H 146.1°. Best body text is #FFFFFF at 8.00:1 contrast (WCAG AA passes).
Color values
| HEX | #285B2E |
|---|---|
| RGB | rgb(40, 91, 46) |
| HSL | hsl(127, 39%, 26%) |
| HSV | hsv(127, 56%, 36%) |
| CMYK | cmyk(56%, 0%, 49.5%, 64.3%) |
| CIE-LAB | lab(34.25, -27.91, 20.80) |
| CIE-LCH | lch(34.25, 34.81, 143.30°) |
| OKLab | oklab(42.37% -0.0757 0.0508) |
| OKLCH | oklch(42.37% 0.091 146.1) |
| XYZ | xyz(5.1090, 8.1301, 3.8843) |
| Luminance | 0.0813 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 1.36
Forest Green
#2D5A27
ΔE00 2.11
Hunter Green
#355E3B
ΔE00 3.44
Spruce
#0A5F38
ΔE00 4.30
Deep Green
#02590F
ΔE00 6.10
Pine Green
#0A481E
ΔE00 6.38
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285B2E #5B2855
analogous
#3B5B28 #285B2E #285B47
triadic
#285B2E #2E285B #5B2E28
tetradic
#285B2E #283B5B #5B2855 #5B4728
square
#285B2E #283B5B #5B2855 #5B4728
split-complementary
#285B2E #47285B #5B283B
monochromatic
#09150B #153019 #285B2E #3B8643 #4DB059
Accessibility & contrast
On white
8.00
#285B2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.63
#285B2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285B2E
8.00:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285B2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285B2E | 1.00 | 8.00 | 2.63 | 8.00 |
| #FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.63 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.00 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5C532A
Deuteranopia (green-blind)
#554F31
Tritanopia (blue-blind)
#1F5950
Achromatopsia (no color)
#515151
Design tokens & code
CSS
--color: #285b2e; /* rgb */ color: rgb(40, 91, 46); /* oklch */ color: oklch(42.4% 0.091 146.1);
Tailwind
colors: {
custom: {
50: '#678a67',
500: '#285b2e',
950: '#000000',
},
}SCSS
$custom: #285b2e; $custom-light: #678a67; $custom-dark: #000000;
JSON
{
"hex": "#285b2e",
"rgb": {
"r": 40,
"g": 91,
"b": 46
},
"hsl": {
"h": 127.059,
"s": 38.931,
"l": 25.686
},
"oklch": {
"l": 0.42369,
"c": 0.09118,
"h": 146.1
},
"luminance": 0.08131
}Semantic roles & 50–950 ramp
primary
#285B2E
secondary
#8E5187
accent
#59C1CF
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A