#18662E#18662E
#18662E is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.0% C 0.115 H 148.5°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #18662E |
|---|---|
| RGB | rgb(24, 102, 46) |
| HSL | hsl(137, 62%, 25%) |
| HSV | hsv(137, 76%, 40%) |
| CMYK | cmyk(76.5%, 0%, 54.9%, 60%) |
| CIE-LAB | lab(37.65, -36.45, 24.94) |
| CIE-LCH | lch(37.65, 44.17, 145.62°) |
| OKLab | oklab(45.03% -0.0981 0.0602) |
| OKLCH | oklch(45.03% 0.115 148.5) |
| XYZ | xyz(5.6208, 9.8936, 4.1977) |
| Luminance | 0.0989 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.72
Spruce
#0A5F38
ΔE00 4.82
Forest Green
#2D5A27
ΔE00 5.09
Deep Green
#02590F
ΔE00 5.72
Hunter Green
#355E3B
ΔE00 6.46
Darkgreen
#006400
ΔE00 6.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18662E #661850
analogous
#296618 #18662E #186655
triadic
#18662E #2E1866 #662E18
tetradic
#18662E #182966 #661850 #665518
square
#18662E #182966 #661850 #665518
split-complementary
#18662E #551866 #661829
monochromatic
#06190B #0C3418 #18662E #249844 #2FC95B
Accessibility & contrast
On white
7.05
#18662E on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#18662E on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18662E
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18662E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18662E | 1.00 | 7.05 | 2.98 | 7.05 |
| #FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.05 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675C29
Deuteranopia (green-blind)
#5E5632
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #18662e; /* rgb */ color: rgb(24, 102, 46); /* oklch */ color: oklch(45.0% 0.115 148.5);
Tailwind
colors: {
custom: {
50: '#629268',
500: '#18662e',
950: '#000000',
},
}SCSS
$custom: #18662e; $custom-light: #629268; $custom-dark: #000000;
JSON
{
"hex": "#18662e",
"rgb": {
"r": 24,
"g": 102,
"b": 46
},
"hsl": {
"h": 136.923,
"s": 61.905,
"l": 24.706
},
"oklch": {
"l": 0.45028,
"c": 0.11509,
"h": 148.5
},
"luminance": 0.09894
}Semantic roles & 50–950 ramp
primary
#18662E
secondary
#9C3E81
accent
#43B7E5
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A