#186838#186838
#186838 is a mid, moderate green. Relative luminance 0.104; OKLCH L 45.8% C 0.108 H 152.2°. Best body text is #FFFFFF at 6.83:1 contrast (WCAG AA passes).
Color values
| HEX | #186838 |
|---|---|
| RGB | rgb(24, 104, 56) |
| HSL | hsl(144, 63%, 25%) |
| HSV | hsv(144, 77%, 41%) |
| CMYK | cmyk(76.9%, 0%, 46.2%, 59.2%) |
| CIE-LAB | lab(38.52, -35.45, 20.39) |
| CIE-LCH | lch(38.52, 40.90, 150.09°) |
| OKLab | oklab(45.79% -0.0954 0.0503) |
| OKLCH | oklch(45.79% 0.108 152.2) |
| XYZ | xyz(6.0403, 10.3796, 5.4257) |
| Luminance | 0.1038 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Spruce
#0A5F38
ΔE00 3.66
Pine
#2B5D34
ΔE00 4.54
Hunter Green
#355E3B
ΔE00 5.86
Forest Green
#2D5A27
ΔE00 6.19
Deep Green
#02590F
ΔE00 7.68
Darkish Green
#287C37
ΔE00 7.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#186838 #681848
analogous
#206818 #186838 #186860
triadic
#186838 #381868 #683818
tetradic
#186838 #182068 #681848 #686018
square
#186838 #182068 #681848 #686018
split-complementary
#186838 #601868 #681820
monochromatic
#06190D #0D361D #186838 #239A53 #2FCB6E
Accessibility & contrast
On white
6.83
#186838 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.08
#186838 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #186838
6.83:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##186838 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##186838 | 1.00 | 6.83 | 3.08 | 6.83 |
| #FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.08 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 6.83 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685F34
Deuteranopia (green-blind)
#5F583B
Tritanopia (blue-blind)
#00665C
Achromatopsia (no color)
#5B5B5B
Design tokens & code
CSS
--color: #186838; /* rgb */ color: rgb(24, 104, 56); /* oklch */ color: oklch(45.8% 0.108 152.2);
Tailwind
colors: {
custom: {
50: '#62946f',
500: '#186838',
950: '#000000',
},
}SCSS
$custom: #186838; $custom-light: #62946f; $custom-dark: #000000;
JSON
{
"hex": "#186838",
"rgb": {
"r": 24,
"g": 104,
"b": 56
},
"hsl": {
"h": 144,
"s": 62.5,
"l": 25.098
},
"oklch": {
"l": 0.45794,
"c": 0.10789,
"h": 152.2
},
"luminance": 0.1038
}Semantic roles & 50–950 ramp
primary
#186838
secondary
#9E3E78
accent
#42A4E6
background
#F6F9F6
surface
#EBF1EC
border
#C6CBC7
text
#060D07
muted
#7A7E7A