#286A2C#286A2C
#286A2C is a mid, moderate green. Relative luminance 0.109; OKLCH L 46.7% C 0.116 H 144.5°. Best body text is #FFFFFF at 6.59:1 contrast (WCAG AA passes).
Color values
| HEX | #286A2C |
|---|---|
| RGB | rgb(40, 106, 44) |
| HSL | hsl(124, 45%, 29%) |
| HSV | hsv(124, 62%, 42%) |
| CMYK | cmyk(62.3%, 0%, 58.5%, 58.4%) |
| CIE-LAB | lab(39.48, -34.84, 28.34) |
| CIE-LCH | lch(39.48, 44.91, 140.88°) |
| OKLab | oklab(46.66% -0.0945 0.0675) |
| OKLCH | oklch(46.66% 0.116 144.5) |
| XYZ | xyz(6.4833, 10.9404, 4.1524) |
| Luminance | 0.1094 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Forest Green
#2D5A27
ΔE00 5.63
Darkgreen
#006400
ΔE00 5.76
Pine
#2B5D34
ΔE00 6.01
Darkish Green
#287C37
ΔE00 6.16
Deep Green
#02590F
ΔE00 6.41
Spruce
#0A5F38
ΔE00 7.06
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286A2C #6A2866
analogous
#456A28 #286A2C #286A4D
triadic
#286A2C #2C286A #6A2C28
tetradic
#286A2C #28456A #6A2866 #6A4D28
square
#286A2C #28456A #6A2866 #6A4D28
split-complementary
#286A2C #4D286A #6A2845
monochromatic
#081609 #173E1A #286A2C #39963E #50BD56
Accessibility & contrast
On white
6.59
#286A2C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.19
#286A2C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286A2C
6.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286A2C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286A2C | 1.00 | 6.59 | 3.19 | 6.59 |
| #FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.59 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6C6126
Deuteranopia (green-blind)
#635B31
Tritanopia (blue-blind)
#1B675C
Achromatopsia (no color)
#5D5D5D
Design tokens & code
CSS
--color: #286a2c; /* rgb */ color: rgb(40, 106, 44); /* oklch */ color: oklch(46.7% 0.116 144.5);
Tailwind
colors: {
custom: {
50: '#6a9567',
500: '#286a2c',
950: '#000000',
},
}SCSS
$custom: #286a2c; $custom-light: #6a9567; $custom-dark: #000000;
JSON
{
"hex": "#286a2c",
"rgb": {
"r": 40,
"g": 106,
"b": 44
},
"hsl": {
"h": 123.636,
"s": 45.205,
"l": 28.627
},
"oklch": {
"l": 0.46657,
"c": 0.11612,
"h": 144.5
},
"luminance": 0.10941
}Semantic roles & 50–950 ramp
primary
#286A2C
secondary
#9D5198
accent
#53CDD5
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A