#286E2D#286E2D
#286E2D is a mid, vivid green. Relative luminance 0.118; OKLCH L 47.8% C 0.121 H 144.6°. Best body text is #FFFFFF at 6.25:1 contrast (WCAG AA passes).
Color values
| HEX | #286E2D |
|---|---|
| RGB | rgb(40, 110, 45) |
| HSL | hsl(124, 47%, 29%) |
| HSV | hsv(124, 64%, 43%) |
| CMYK | cmyk(63.6%, 0%, 59.1%, 56.9%) |
| CIE-LAB | lab(40.88, -36.36, 29.48) |
| CIE-LCH | lch(40.88, 46.81, 140.97°) |
| OKLab | oklab(47.82% -0.0985 0.0701) |
| OKLCH | oklch(47.82% 0.121 144.6) |
| XYZ | xyz(6.9242, 11.7918, 4.3933) |
| Luminance | 0.1179 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 4.82
Darkgreen
#006400
ΔE00 6.05
Forest Green
#2D5A27
ΔE00 6.98
Tree Green
#2A7E19
ΔE00 7.23
Pine
#2B5D34
ΔE00 7.25
Deep Green
#02590F
ΔE00 7.44
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286E2D #6E2869
analogous
#466E28 #286E2D #286E50
triadic
#286E2D #2D286E #6E2D28
tetradic
#286E2D #28466E #6E2869 #6E5028
square
#286E2D #28466E #6E2869 #6E5028
split-complementary
#286E2D #50286E #6E2846
monochromatic
#081609 #18411B #286E2D #389B3F #51C059
Accessibility & contrast
On white
6.25
#286E2D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.36
#286E2D on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286E2D
6.25:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286E2D | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286E2D | 1.00 | 6.25 | 3.36 | 6.25 |
| #FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.25 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#706427
Deuteranopia (green-blind)
#675E32
Tritanopia (blue-blind)
#196B60
Achromatopsia (no color)
#606060
Design tokens & code
CSS
--color: #286e2d; /* rgb */ color: rgb(40, 110, 45); /* oklch */ color: oklch(47.8% 0.121 144.6);
Tailwind
colors: {
custom: {
50: '#6a9868',
500: '#286e2d',
950: '#000000',
},
}SCSS
$custom: #286e2d; $custom-light: #6a9868; $custom-dark: #000000;
JSON
{
"hex": "#286e2d",
"rgb": {
"r": 40,
"g": 110,
"b": 45
},
"hsl": {
"h": 124.286,
"s": 46.667,
"l": 29.412
},
"oklch": {
"l": 0.47818,
"c": 0.12092,
"h": 144.6
},
"luminance": 0.11792
}Semantic roles & 50–950 ramp
primary
#286E2D
secondary
#A0519B
accent
#51CDD6
background
#F6F9F6
surface
#ECF2EB
border
#C7CCC6
text
#070E06
muted
#7A7E7A