#286C30#286C30
#286C30 is a mid, moderate green. Relative luminance 0.114; OKLCH L 47.3% C 0.115 H 145.6°. Best body text is #FFFFFF at 6.41:1 contrast (WCAG AA passes).
Color values
| HEX | #286C30 |
|---|---|
| RGB | rgb(40, 108, 48) |
| HSL | hsl(127, 46%, 29%) |
| HSV | hsv(127, 63%, 42%) |
| CMYK | cmyk(63%, 0%, 55.6%, 57.6%) |
| CIE-LAB | lab(40.23, -35.09, 27.10) |
| CIE-LCH | lch(40.23, 44.34, 142.32°) |
| OKLab | oklab(47.29% -0.095 0.0651) |
| OKLCH | oklch(47.29% 0.115 145.6) |
| XYZ | xyz(6.7707, 11.3890, 4.6372) |
| Luminance | 0.1139 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkish Green
#287C37
ΔE00 5.53
Pine
#2B5D34
ΔE00 6.18
Forest Green
#2D5A27
ΔE00 6.22
Darkgreen
#006400
ΔE00 6.48
Spruce
#0A5F38
ΔE00 6.97
Deep Green
#02590F
ΔE00 7.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286C30 #6C2864
analogous
#426C28 #286C30 #286C52
triadic
#286C30 #30286C #6C3028
tetradic
#286C30 #28426C #6C2864 #6C5228
square
#286C30 #28426C #6C2864 #6C5228
split-complementary
#286C30 #52286C #6C2842
monochromatic
#08160A #173F1C #286C30 #399944 #50BE5D
Accessibility & contrast
On white
6.41
#286C30 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.28
#286C30 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286C30
6.41:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286C30 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286C30 | 1.00 | 6.41 | 3.28 | 6.41 |
| #FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.41 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E622B
Deuteranopia (green-blind)
#655C34
Tritanopia (blue-blind)
#19695E
Achromatopsia (no color)
#5F5F5F
Design tokens & code
CSS
--color: #286c30; /* rgb */ color: rgb(40, 108, 48); /* oklch */ color: oklch(47.3% 0.115 145.6);
Tailwind
colors: {
custom: {
50: '#6a976a',
500: '#286c30',
950: '#000000',
},
}SCSS
$custom: #286c30; $custom-light: #6a976a; $custom-dark: #000000;
JSON
{
"hex": "#286c30",
"rgb": {
"r": 40,
"g": 108,
"b": 48
},
"hsl": {
"h": 127.059,
"s": 45.946,
"l": 29.02
},
"oklch": {
"l": 0.4729,
"c": 0.11516,
"h": 145.6
},
"luminance": 0.1139
}Semantic roles & 50–950 ramp
primary
#286C30
secondary
#9E5195
accent
#52C6D6
background
#F6F9F6
surface
#EBF2EB
border
#C6CCC6
text
#070D06
muted
#7A7E7A