#286C23#286C23
#286C23 is a mid, vivid green. Relative luminance 0.113; OKLCH L 47.1% C 0.127 H 142.2°. Best body text is #FFFFFF at 6.44:1 contrast (WCAG AA passes).
Color values
| HEX | #286C23 |
|---|---|
| RGB | rgb(40, 108, 35) |
| HSL | hsl(116, 51%, 28%) |
| HSV | hsv(116, 68%, 42%) |
| CMYK | cmyk(63%, 0%, 67.6%, 57.6%) |
| CIE-LAB | lab(40.08, -36.81, 33.55) |
| CIE-LCH | lch(40.08, 49.80, 137.66°) |
| OKLab | oklab(47.12% -0.1003 0.0778) |
| OKLCH | oklch(47.12% 0.127 142.2) |
| XYZ | xyz(6.5407, 11.2970, 3.4256) |
| Luminance | 0.1130 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.54
Darkish Green
#287C37
ΔE00 5.82
Deep Green
#02590F
ΔE00 6.58
Tree Green
#2A7E19
ΔE00 6.85
Forest Green
#2D5A27
ΔE00 6.85
Forest
#0B5509
ΔE00 7.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286C23 #67236C
analogous
#4C6C23 #286C23 #236C42
triadic
#286C23 #23286C #6C2328
tetradic
#286C23 #234C6C #67236C #6C4223
square
#286C23 #234C6C #67236C #6C4223
split-complementary
#286C23 #42236C #6C234C
monochromatic
#091707 #173E14 #286C23 #399A32 #4FC346
Accessibility & contrast
On white
6.44
#286C23 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.26
#286C23 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286C23
6.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286C23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286C23 | 1.00 | 6.44 | 3.26 | 6.44 |
| #FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F621A
Deuteranopia (green-blind)
#665C29
Tritanopia (blue-blind)
#1D695D
Achromatopsia (no color)
#5E5E5E
Design tokens & code
CSS
--color: #286c23; /* rgb */ color: rgb(40, 108, 35); /* oklch */ color: oklch(47.1% 0.127 142.2);
Tailwind
colors: {
custom: {
50: '#6b9761',
500: '#286c23',
950: '#000000',
},
}SCSS
$custom: #286c23; $custom-light: #6b9761; $custom-dark: #000000;
JSON
{
"hex": "#286c23",
"rgb": {
"r": 40,
"g": 108,
"b": 35
},
"hsl": {
"h": 115.89,
"s": 51.049,
"l": 28.039
},
"oklch": {
"l": 0.47116,
"c": 0.12695,
"h": 142.2
},
"luminance": 0.11298
}Semantic roles & 50–950 ramp
primary
#286C23
secondary
#9A4B9F
accent
#4DDBD1
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070D05
muted
#7A7E79