#18662F#18662F
#18662F is a mid, moderate green. Relative luminance 0.099; OKLCH L 45.0% C 0.114 H 148.8°. Best body text is #FFFFFF at 7.05:1 contrast (WCAG AA passes).
Color values
| HEX | #18662F |
|---|---|
| RGB | rgb(24, 102, 47) |
| HSL | hsl(138, 62%, 25%) |
| HSV | hsv(138, 76%, 40%) |
| CMYK | cmyk(76.5%, 0%, 53.9%, 60%) |
| CIE-LAB | lab(37.67, -36.28, 24.40) |
| CIE-LCH | lch(37.67, 43.73, 146.08°) |
| OKLab | oklab(45.04% -0.0976 0.0591) |
| OKLCH | oklch(45.04% 0.114 148.8) |
| XYZ | xyz(5.6407, 9.9015, 4.3027) |
| Luminance | 0.0990 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.60
Spruce
#0A5F38
ΔE00 4.61
Forest Green
#2D5A27
ΔE00 5.12
Deep Green
#02590F
ΔE00 5.88
Hunter Green
#355E3B
ΔE00 6.33
Darkgreen
#006400
ΔE00 6.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18662F #66184F
analogous
#286618 #18662F #186656
triadic
#18662F #2F1866 #662F18
tetradic
#18662F #182866 #66184F #665618
square
#18662F #182866 #66184F #665618
split-complementary
#18662F #561866 #661828
monochromatic
#06190B #0C3418 #18662F #249846 #2FC95D
Accessibility & contrast
On white
7.05
#18662F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#18662F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18662F
7.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18662F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18662F | 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)
#675D2A
Deuteranopia (green-blind)
#5E5633
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #18662f; /* rgb */ color: rgb(24, 102, 47); /* oklch */ color: oklch(45.0% 0.114 148.8);
Tailwind
colors: {
custom: {
50: '#629269',
500: '#18662f',
950: '#000000',
},
}SCSS
$custom: #18662f; $custom-light: #629269; $custom-dark: #000000;
JSON
{
"hex": "#18662f",
"rgb": {
"r": 24,
"g": 102,
"b": 47
},
"hsl": {
"h": 137.692,
"s": 61.905,
"l": 24.706
},
"oklch": {
"l": 0.45044,
"c": 0.11411,
"h": 148.8
},
"luminance": 0.09902
}Semantic roles & 50–950 ramp
primary
#18662F
secondary
#9C3E80
accent
#43B5E5
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A