#285338#285338
#285338 is a dark, moderate green. Relative luminance 0.069; OKLCH L 40.3% C 0.067 H 154.5°. Best body text is #FFFFFF at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #285338 |
|---|---|
| RGB | rgb(40, 83, 56) |
| HSL | hsl(142, 35%, 24%) |
| HSV | hsv(142, 52%, 33%) |
| CMYK | cmyk(51.8%, 0%, 32.5%, 67.5%) |
| CIE-LAB | lab(31.63, -22.02, 11.32) |
| CIE-LCH | lch(31.63, 24.76, 152.79°) |
| OKLab | oklab(40.29% -0.0602 0.0287) |
| OKLCH | oklch(40.29% 0.067 154.5) |
| XYZ | xyz(4.6818, 6.9228, 4.8301) |
| Luminance | 0.0692 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Hunter Green
#355E3B
ΔE00 4.43
Pine
#2B5D34
ΔE00 5.01
Evergreen
#05472A
ΔE00 5.11
Spruce
#0A5F38
ΔE00 6.01
Pine Green
#0A481E
ΔE00 6.56
Forest Green
#2D5A27
ΔE00 7.10
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285338 #532843
analogous
#2E5328 #285338 #28534E
triadic
#285338 #382853 #533828
tetradic
#285338 #282E53 #532843 #534E28
square
#285338 #282E53 #532843 #534E28
split-complementary
#285338 #4E2853 #53282E
monochromatic
#0A150E #142A1C #285338 #3C7C54 #50A670
Accessibility & contrast
On white
8.81
#285338 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.38
#285338 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285338
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285338 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285338 | 1.00 | 8.81 | 2.38 | 8.81 |
| #FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.38 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#534D36
Deuteranopia (green-blind)
#4C493A
Tritanopia (blue-blind)
#1E524C
Achromatopsia (no color)
#4A4A4A
Design tokens & code
CSS
--color: #285338; /* rgb */ color: rgb(40, 83, 56); /* oklch */ color: oklch(40.3% 0.067 154.5);
Tailwind
colors: {
custom: {
50: '#65846e',
500: '#285338',
950: '#000000',
},
}SCSS
$custom: #285338; $custom-light: #65846e; $custom-dark: #000000;
JSON
{
"hex": "#285338",
"rgb": {
"r": 40,
"g": 83,
"b": 56
},
"hsl": {
"h": 142.326,
"s": 34.959,
"l": 24.118
},
"oklch": {
"l": 0.40289,
"c": 0.06665,
"h": 154.5
},
"luminance": 0.06923
}Semantic roles & 50–950 ramp
primary
#285338
secondary
#865172
accent
#5DA2CB
background
#F6F8F6
surface
#EBEFEC
border
#C6CAC7
text
#060B07
muted
#7A7C7A