#286F23#286F23
#286F23 is a mid, vivid green. Relative luminance 0.119; OKLCH L 48.0% C 0.131 H 142.2°. Best body text is #FFFFFF at 6.20:1 contrast (WCAG AA passes).
Color values
| HEX | #286F23 |
|---|---|
| RGB | rgb(40, 111, 35) |
| HSL | hsl(116, 52%, 29%) |
| HSV | hsv(116, 68%, 44%) |
| CMYK | cmyk(64%, 0%, 68.5%, 56.5%) |
| CIE-LAB | lab(41.12, -38.01, 34.70) |
| CIE-LCH | lch(41.12, 51.47, 137.61°) |
| OKLab | oklab(47.98% -0.1035 0.0803) |
| OKLCH | oklch(47.98% 0.131 142.2) |
| XYZ | xyz(6.8625, 11.9407, 3.5329) |
| Luminance | 0.1194 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 4.99
Darkish Green
#287C37
ΔE00 5.02
Tree Green
#2A7E19
ΔE00 5.81
Green
#008000
ΔE00 7.22
Deep Green
#02590F
ΔE00 7.49
Forest Green
#2D5A27
ΔE00 7.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286F23 #6A236F
analogous
#4E6F23 #286F23 #236F44
triadic
#286F23 #23286F #6F2328
tetradic
#286F23 #234E6F #6A236F #6F4423
square
#286F23 #234E6F #6A236F #6F4423
split-complementary
#286F23 #44236F #6F234E
monochromatic
#081707 #174014 #286F23 #399E32 #50C547
Accessibility & contrast
On white
6.20
#286F23 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.39
#286F23 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286F23
6.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286F23 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286F23 | 1.00 | 6.20 | 3.39 | 6.20 |
| #FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.20 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#726519
Deuteranopia (green-blind)
#695F2A
Tritanopia (blue-blind)
#1C6C5F
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #286f23; /* rgb */ color: rgb(40, 111, 35); /* oklch */ color: oklch(48.0% 0.131 142.2);
Tailwind
colors: {
custom: {
50: '#6b9962',
500: '#286f23',
950: '#000000',
},
}SCSS
$custom: #286f23; $custom-light: #6b9962; $custom-dark: #000000;
JSON
{
"hex": "#286f23",
"rgb": {
"r": 40,
"g": 111,
"b": 35
},
"hsl": {
"h": 116.053,
"s": 52.055,
"l": 28.627
},
"oklch": {
"l": 0.47979,
"c": 0.131,
"h": 142.2
},
"luminance": 0.11941
}Semantic roles & 50–950 ramp
primary
#286F23
secondary
#9D4CA2
accent
#4CDBD2
background
#F6F9F5
surface
#ECF2EA
border
#C7CCC6
text
#070E05
muted
#7A7E79