#285F2E#285F2E
#285F2E is a dark, moderate green. Relative luminance 0.088; OKLCH L 43.5% C 0.098 H 145.8°. Best body text is #FFFFFF at 7.59:1 contrast (WCAG AA passes).
Color values
| HEX | #285F2E |
|---|---|
| RGB | rgb(40, 95, 46) |
| HSL | hsl(127, 41%, 26%) |
| HSV | hsv(127, 58%, 37%) |
| CMYK | cmyk(57.9%, 0%, 51.6%, 62.7%) |
| CIE-LAB | lab(35.66, -29.74, 22.57) |
| CIE-LCH | lch(35.66, 37.34, 142.80°) |
| OKLab | oklab(43.52% -0.0806 0.0548) |
| OKLCH | oklch(43.52% 0.098 145.8) |
| XYZ | xyz(5.4601, 8.8323, 4.0013) |
| Luminance | 0.0883 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 2.09
Forest Green
#2D5A27
ΔE00 2.33
Hunter Green
#355E3B
ΔE00 4.06
Spruce
#0A5F38
ΔE00 4.43
Deep Green
#02590F
ΔE00 5.65
Forest
#0B5509
ΔE00 6.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285F2E #5F2859
analogous
#3E5F28 #285F2E #285F4A
triadic
#285F2E #2E285F #5F2E28
tetradic
#285F2E #283E5F #5F2859 #5F4A28
square
#285F2E #283E5F #5F2859 #5F4A28
split-complementary
#285F2E #4A285F #5F283E
monochromatic
#09160A #163419 #285F2E #3A8A43 #4DB458
Accessibility & contrast
On white
7.59
#285F2E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.77
#285F2E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285F2E
7.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285F2E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285F2E | 1.00 | 7.59 | 2.77 | 7.59 |
| #FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.77 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#60572A
Deuteranopia (green-blind)
#595231
Tritanopia (blue-blind)
#1E5D53
Achromatopsia (no color)
#545454
Design tokens & code
CSS
--color: #285f2e; /* rgb */ color: rgb(40, 95, 46); /* oklch */ color: oklch(43.5% 0.098 145.8);
Tailwind
colors: {
custom: {
50: '#678d68',
500: '#285f2e',
950: '#000000',
},
}SCSS
$custom: #285f2e; $custom-light: #678d68; $custom-dark: #000000;
JSON
{
"hex": "#285f2e",
"rgb": {
"r": 40,
"g": 95,
"b": 46
},
"hsl": {
"h": 126.545,
"s": 40.741,
"l": 26.471
},
"oklch": {
"l": 0.43523,
"c": 0.09753,
"h": 145.8
},
"luminance": 0.08833
}Semantic roles & 50–950 ramp
primary
#285F2E
secondary
#92518B
accent
#57C3D1
background
#F6F8F6
surface
#EBF0EB
border
#C6CBC6
text
#060C06
muted
#7A7D7A