#286720#286720
#286720 is a mid, vivid green. Relative luminance 0.103; OKLCH L 45.6% C 0.123 H 141.5°. Best body text is #FFFFFF at 6.88:1 contrast (WCAG AA passes).
Color values
| HEX | #286720 |
|---|---|
| RGB | rgb(40, 103, 32) |
| HSL | hsl(113, 53%, 26%) |
| HSV | hsv(113, 69%, 40%) |
| CMYK | cmyk(61.2%, 0%, 68.9%, 59.6%) |
| CIE-LAB | lab(38.30, -35.11, 33.01) |
| CIE-LCH | lch(38.30, 48.19, 136.77°) |
| OKLab | oklab(45.64% -0.0959 0.0763) |
| OKLCH | oklch(45.64% 0.123 141.5) |
| XYZ | xyz(5.9857, 10.2554, 3.0303) |
| Luminance | 0.1026 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.95
Deep Green
#02590F
ΔE00 5.18
Forest Green
#2D5A27
ΔE00 5.41
Forest
#0B5509
ΔE00 6.13
Pine
#2B5D34
ΔE00 6.92
Darkish Green
#287C37
ΔE00 7.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286720 #5F2067
analogous
#4C6720 #286720 #20673C
triadic
#286720 #202867 #672028
tetradic
#286720 #204C67 #5F2067 #673C20
square
#286720 #204C67 #5F2067 #673C20
split-complementary
#286720 #3C2067 #67204C
monochromatic
#091707 #163811 #286720 #3A962F #4DC33E
Accessibility & contrast
On white
6.88
#286720 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.05
#286720 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #286720
6.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286720 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286720 | 1.00 | 6.88 | 3.05 | 6.88 |
| #FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.05 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.88 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D17
Deuteranopia (green-blind)
#625826
Tritanopia (blue-blind)
#1F6458
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #286720; /* rgb */ color: rgb(40, 103, 32); /* oklch */ color: oklch(45.6% 0.123 141.5);
Tailwind
colors: {
custom: {
50: '#6a935f',
500: '#286720',
950: '#000000',
},
}SCSS
$custom: #286720; $custom-light: #6a935f; $custom-dark: #000000;
JSON
{
"hex": "#286720",
"rgb": {
"r": 40,
"g": 103,
"b": 32
},
"hsl": {
"h": 113.239,
"s": 52.593,
"l": 26.471
},
"oklch": {
"l": 0.45638,
"c": 0.12254,
"h": 141.5
},
"luminance": 0.10256
}Semantic roles & 50–950 ramp
primary
#286720
secondary
#92489B
accent
#4CDCCC
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#070D05
muted
#7A7E79