#286F2F#286F2F
#286F2F is a mid, vivid green. Relative luminance 0.120; OKLCH L 48.1% C 0.120 H 145.1°. Best body text is #FFFFFF at 6.17:1 contrast (WCAG AA passes).
Color values
| HEX | #286F2F |
|---|---|
| RGB | rgb(40, 111, 47) |
| HSL | hsl(126, 47%, 30%) |
| HSV | hsv(126, 64%, 44%) |
| CMYK | cmyk(64%, 0%, 57.7%, 56.5%) |
| CIE-LAB | lab(41.26, -36.49, 28.87) |
| CIE-LCH | lch(41.26, 46.53, 141.65°) |
| OKLab | oklab(48.13% -0.0988 0.0689) |
| OKLCH | oklch(48.13% 0.12 145.1) |
| XYZ | xyz(7.0722, 12.0246, 4.6370) |
| Luminance | 0.1202 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.48
Darkgreen
#006400
ΔE00 6.44
Jungle Green
#048243
ΔE00 7.16
Tree Green
#2A7E19
ΔE00 7.18
Forest Green
#2D5A27
ΔE00 7.27
Pine
#2B5D34
ΔE00 7.36
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286F2F #6F2868
analogous
#456F28 #286F2F #286F52
triadic
#286F2F #2F286F #6F2F28
tetradic
#286F2F #28456F #6F2868 #6F5228
square
#286F2F #28456F #6F2868 #6F5228
split-complementary
#286F2F #52286F #6F2845
monochromatic
#08160A #18421C #286F2F #389C42 #51C05C
Accessibility & contrast
On white
6.17
#286F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.41
#286F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286F2F
6.17:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286F2F | 1.00 | 6.17 | 3.41 | 6.17 |
| #FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.41 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.17 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716529
Deuteranopia (green-blind)
#685F34
Tritanopia (blue-blind)
#186C61
Achromatopsia (no color)
#616161
Design tokens & code
CSS
--color: #286f2f; /* rgb */ color: rgb(40, 111, 47); /* oklch */ color: oklch(48.1% 0.120 145.1);
Tailwind
colors: {
custom: {
50: '#6b9969',
500: '#286f2f',
950: '#000000',
},
}SCSS
$custom: #286f2f; $custom-light: #6b9969; $custom-dark: #000000;
JSON
{
"hex": "#286f2f",
"rgb": {
"r": 40,
"g": 111,
"b": 47
},
"hsl": {
"h": 125.915,
"s": 47.02,
"l": 29.608
},
"oklch": {
"l": 0.48132,
"c": 0.12047,
"h": 145.1
},
"luminance": 0.12025
}Semantic roles & 50–950 ramp
primary
#286F2F
secondary
#A15199
accent
#51C9D7
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A