#285B23#285B23
#285B23 is a dark, moderate green. Relative luminance 0.081; OKLCH L 42.2% C 0.103 H 141.9°. Best body text is #FFFFFF at 8.04:1 contrast (WCAG AA passes).
Color values
| HEX | #285B23 |
|---|---|
| RGB | rgb(40, 91, 35) |
| HSL | hsl(115, 44%, 25%) |
| HSV | hsv(115, 62%, 36%) |
| CMYK | cmyk(56%, 0%, 61.5%, 64.3%) |
| CIE-LAB | lab(34.10, -29.60, 26.75) |
| CIE-LCH | lch(34.10, 39.89, 137.90°) |
| OKLab | oklab(42.19% -0.0807 0.0633) |
| OKLCH | oklch(42.19% 0.103 141.9) |
| XYZ | xyz(4.9193, 8.0542, 2.8852) |
| Luminance | 0.0805 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 1.28
Pine
#2B5D34
ΔE00 3.95
Deep Green
#02590F
ΔE00 4.07
Forest
#0B5509
ΔE00 4.33
Hunter Green
#355E3B
ΔE00 5.73
Navy Green
#35530A
ΔE00 6.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#285B23 #56235B
analogous
#445B23 #285B23 #235B3A
triadic
#285B23 #23285B #5B2328
tetradic
#285B23 #23445B #56235B #5B3A23
square
#285B23 #23445B #56235B #5B3A23
split-complementary
#285B23 #3A235B #5B2344
monochromatic
#0A1609 #152F12 #285B23 #3B8734 #4FB345
Accessibility & contrast
On white
8.04
#285B23 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.61
#285B23 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #285B23
8.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##285B23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##285B23 | 1.00 | 8.04 | 2.61 | 8.04 |
| #FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.61 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 8.04 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#5D531D
Deuteranopia (green-blind)
#564E27
Tritanopia (blue-blind)
#22584F
Achromatopsia (no color)
#505050
Design tokens & code
CSS
--color: #285b23; /* rgb */ color: rgb(40, 91, 35); /* oklch */ color: oklch(42.2% 0.103 141.9);
Tailwind
colors: {
custom: {
50: '#678a60',
500: '#285b23',
950: '#000000',
},
}SCSS
$custom: #285b23; $custom-light: #678a60; $custom-dark: #000000;
JSON
{
"hex": "#285b23",
"rgb": {
"r": 40,
"g": 91,
"b": 35
},
"hsl": {
"h": 114.643,
"s": 44.444,
"l": 24.706
},
"oklch": {
"l": 0.42189,
"c": 0.10256,
"h": 141.9
},
"luminance": 0.08055
}Semantic roles & 50–950 ramp
primary
#285B23
secondary
#894B8F
accent
#54D4C9
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#060C05
muted
#7A7D79