#286118#286118
#286118 is a dark, vivid green. Relative luminance 0.091; OKLCH L 43.8% C 0.120 H 139.7°. Best body text is #FFFFFF at 7.46:1 contrast (WCAG AA passes).
Color values
| HEX | #286118 |
|---|---|
| RGB | rgb(40, 97, 24) |
| HSL | hsl(107, 60%, 24%) |
| HSV | hsv(107, 75%, 38%) |
| CMYK | cmyk(58.8%, 0%, 75.3%, 62%) |
| CIE-LAB | lab(36.11, -33.42, 34.29) |
| CIE-LCH | lch(36.11, 47.88, 134.27°) |
| OKLab | oklab(43.81% -0.0918 0.078) |
| OKLCH | oklch(43.81% 0.12 139.7) |
| XYZ | xyz(5.3144, 9.0660, 2.3338) |
| Luminance | 0.0907 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.70
Deep Green
#02590F
ΔE00 3.90
Forest
#0B5509
ΔE00 4.44
Forest Green
#2D5A27
ΔE00 4.51
Navy Green
#35530A
ΔE00 6.16
Pine
#2B5D34
ΔE00 6.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#286118 #511861
analogous
#4C6118 #286118 #18612C
triadic
#286118 #182861 #611828
tetradic
#286118 #184C61 #511861 #612C18
square
#286118 #184C61 #511861 #612C18
split-complementary
#286118 #2C1861 #61184C
monochromatic
#0A1906 #14300C #286118 #3C9224 #50C330
Accessibility & contrast
On white
7.46
#286118 on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.81
#286118 on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #286118
7.46:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##286118 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##286118 | 1.00 | 7.46 | 2.81 | 7.46 |
| #FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.46 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#64580C
Deuteranopia (green-blind)
#5D531F
Tritanopia (blue-blind)
#225E53
Achromatopsia (no color)
#555555
Design tokens & code
CSS
--color: #286118; /* rgb */ color: rgb(40, 97, 24); /* oklch */ color: oklch(43.8% 0.120 139.7);
Tailwind
colors: {
custom: {
50: '#698e5a',
500: '#286118',
950: '#000000',
},
}SCSS
$custom: #286118; $custom-light: #698e5a; $custom-dark: #000000;
JSON
{
"hex": "#286118",
"rgb": {
"r": 40,
"g": 97,
"b": 24
},
"hsl": {
"h": 106.849,
"s": 60.331,
"l": 23.725
},
"oklch": {
"l": 0.43813,
"c": 0.12045,
"h": 139.7
},
"luminance": 0.09066
}Semantic roles & 50–950 ramp
primary
#286118
secondary
#843D97
accent
#44E3C1
background
#F6F8F5
surface
#EBF0E9
border
#C6CBC5
text
#070C04
muted
#7A7D79