#186815#186815
#186815 is a mid, vivid green. Relative luminance 0.101; OKLCH L 45.3% C 0.138 H 142.5°. Best body text is #FFFFFF at 6.93:1 contrast (WCAG AA passes).
Color values
| HEX | #186815 |
|---|---|
| RGB | rgb(24, 104, 21) |
| HSL | hsl(118, 66%, 25%) |
| HSV | hsv(118, 80%, 41%) |
| CMYK | cmyk(76.9%, 0%, 79.8%, 59.2%) |
| CIE-LAB | lab(38.11, -40.27, 37.37) |
| CIE-LCH | lch(38.11, 54.94, 137.14°) |
| OKLab | oklab(45.32% -0.1095 0.0841) |
| OKLCH | oklch(45.32% 0.138 142.5) |
| XYZ | xyz(5.4620, 10.1483, 2.3803) |
| Luminance | 0.1015 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 2.25
Deep Green
#02590F
ΔE00 5.02
Forest
#0B5509
ΔE00 6.09
Forest Green
#2D5A27
ΔE00 6.95
Darkish Green
#287C37
ΔE00 7.61
Tree Green
#2A7E19
ΔE00 7.77
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186815 #651568
analogous
#426815 #186815 #15683C
triadic
#186815 #151868 #681518
tetradic
#186815 #154268 #651568 #683C15
square
#186815 #154268 #651568 #683C15
split-complementary
#186815 #3C1568 #681542
monochromatic
#061905 #0C350B #186815 #249B1F #30CE2A
Accessibility & contrast
On white
6.93
#186815 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.03
#186815 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186815
6.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186815 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186815 | 1.00 | 6.93 | 3.03 | 6.93 |
| #FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.03 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#6A5D04
Deuteranopia (green-blind)
#61571E
Tritanopia (blue-blind)
#006558
Achromatopsia (no color)
#5A5A5A
Design tokens & code
CSS
--color: #186815; /* rgb */ color: rgb(24, 104, 21); /* oklch */ color: oklch(45.3% 0.138 142.5);
Tailwind
colors: {
custom: {
50: '#649459',
500: '#186815',
950: '#000000',
},
}SCSS
$custom: #186815; $custom-light: #649459; $custom-dark: #000000;
JSON
{
"hex": "#186815",
"rgb": {
"r": 24,
"g": 104,
"b": 21
},
"hsl": {
"h": 117.831,
"s": 66.4,
"l": 24.51
},
"oklch": {
"l": 0.45324,
"c": 0.13804,
"h": 142.5
},
"luminance": 0.10149
}Semantic roles & 50–950 ramp
primary
#186815
secondary
#9B3A9F
accent
#3EE9E3
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79