#286F45#286F45
#286F45 is a mid, moderate green. Relative luminance 0.122; OKLCH L 48.5% C 0.098 H 154.2°. Best body text is #FFFFFF at 6.09:1 contrast (WCAG AA passes).
Color values
| HEX | #286F45 |
|---|---|
| RGB | rgb(40, 111, 69) |
| HSL | hsl(145, 47%, 30%) |
| HSV | hsv(145, 64%, 44%) |
| CMYK | cmyk(64%, 0%, 37.8%, 56.5%) |
| CIE-LAB | lab(41.61, -32.59, 17.01) |
| CIE-LCH | lch(41.61, 36.77, 152.44°) |
| OKLab | oklab(48.54% -0.0884 0.0427) |
| OKLCH | oklch(48.54% 0.098 154.2) |
| XYZ | xyz(7.6331, 12.2489, 7.5911) |
| Luminance | 0.1225 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.69
Pine
#2B5D34
ΔE00 6.28
Hunter Green
#355E3B
ΔE00 6.51
Darkish Green
#287C37
ΔE00 7.06
Jungle Green
#048243
ΔE00 7.59
Forest Green
#2D5A27
ΔE00 8.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286F45 #6F2852
analogous
#2F6F28 #286F45 #286F69
triadic
#286F45 #45286F #6F4528
tetradic
#286F45 #282F6F #6F2852 #6F6928
square
#286F45 #282F6F #6F2852 #6F6928
split-complementary
#286F45 #69286F #6F282F
monochromatic
#08160E #184229 #286F45 #389C61 #51C07F
Accessibility & contrast
On white
6.09
#286F45 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.45
#286F45 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286F45
6.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286F45 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286F45 | 1.00 | 6.09 | 3.45 | 6.09 |
| #FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.45 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6F6642
Deuteranopia (green-blind)
#655F48
Tritanopia (blue-blind)
#0C6E64
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #286f45; /* rgb */ color: rgb(40, 111, 69); /* oklch */ color: oklch(48.5% 0.098 154.2);
Tailwind
colors: {
custom: {
50: '#6a9979',
500: '#286f45',
950: '#000000',
},
}SCSS
$custom: #286f45; $custom-light: #6a9979; $custom-dark: #000000;
JSON
{
"hex": "#286f45",
"rgb": {
"r": 40,
"g": 111,
"b": 69
},
"hsl": {
"h": 144.507,
"s": 47.02,
"l": 29.608
},
"oklch": {
"l": 0.48539,
"c": 0.09813,
"h": 154.2
},
"luminance": 0.1225
}Semantic roles & 50–950 ramp
primary
#286F45
secondary
#A15181
accent
#51A0D7
background
#F6F9F7
surface
#EBF2ED
border
#C6CCC8
text
#070E09
muted
#7A7E7B