#286F4B#286F4B
#286F4B is a mid, moderate green. Relative luminance 0.123; OKLCH L 48.7% C 0.092 H 157.9°. Best body text is #FFFFFF at 6.06:1 contrast (WCAG AA passes).
Color values
| HEX | #286F4B |
|---|---|
| RGB | rgb(40, 111, 75) |
| HSL | hsl(150, 47%, 30%) |
| HSV | hsv(150, 64%, 44%) |
| CMYK | cmyk(64%, 0%, 32.4%, 56.5%) |
| CIE-LAB | lab(41.73, -31.29, 13.65) |
| CIE-LCH | lch(41.73, 34.14, 156.43°) |
| OKLab | oklab(48.68% -0.0853 0.0346) |
| OKLCH | oklch(48.68% 0.092 157.9) |
| XYZ | xyz(7.8288, 12.3272, 8.6221) |
| Luminance | 0.1233 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 5.88
Hunter Green
#355E3B
ΔE00 6.68
Pine
#2B5D34
ΔE00 6.83
Darkish Green
#287C37
ΔE00 8.48
Jungle Green
#048243
ΔE00 8.51
Dark Sea Green
#11875D
ΔE00 8.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286F4B #6F284C
analogous
#296F28 #286F4B #286F6F
triadic
#286F4B #4B286F #6F4B28
tetradic
#286F4B #28296F #6F284C #6F6F28
square
#286F4B #28296F #6F284C #6F6F28
split-complementary
#286F4B #6F286F #6F2829
monochromatic
#08160F #18422D #286F4B #389C69 #51C088
Accessibility & contrast
On white
6.06
#286F4B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.47
#286F4B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286F4B
6.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286F4B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286F4B | 1.00 | 6.06 | 3.47 | 6.06 |
| #FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6E6749
Deuteranopia (green-blind)
#64604D
Tritanopia (blue-blind)
#066E65
Achromatopsia (no color)
#626262
Design tokens & code
CSS
--color: #286f4b; /* rgb */ color: rgb(40, 111, 75); /* oklch */ color: oklch(48.7% 0.092 157.9);
Tailwind
colors: {
custom: {
50: '#6a997d',
500: '#286f4b',
950: '#000000',
},
}SCSS
$custom: #286f4b; $custom-light: #6a997d; $custom-dark: #000000;
JSON
{
"hex": "#286f4b",
"rgb": {
"r": 40,
"g": 111,
"b": 75
},
"hsl": {
"h": 149.577,
"s": 47.02,
"l": 29.608
},
"oklch": {
"l": 0.4868,
"c": 0.09206,
"h": 157.9
},
"luminance": 0.12328
}Semantic roles & 50–950 ramp
primary
#286F4B
secondary
#A1517A
accent
#5195D7
background
#F6F9F7
surface
#EBF2EE
border
#C6CCC9
text
#070E09
muted
#7A7E7B