#18662C#18662C
#18662C is a dark, moderate green. Relative luminance 0.099; OKLCH L 45.0% C 0.117 H 147.8°. Best body text is #FFFFFF at 7.06:1 contrast (WCAG AA passes).
Color values
| HEX | #18662C |
|---|---|
| RGB | rgb(24, 102, 44) |
| HSL | hsl(135, 62%, 25%) |
| HSV | hsv(135, 76%, 40%) |
| CMYK | cmyk(76.5%, 0%, 56.9%, 60%) |
| CIE-LAB | lab(37.62, -36.78, 26.00) |
| CIE-LCH | lch(37.62, 45.04, 144.75°) |
| OKLab | oklab(45% -0.099 0.0624) |
| OKLCH | oklch(45% 0.117 147.8) |
| XYZ | xyz(5.5823, 9.8782, 3.9949) |
| Luminance | 0.0988 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Pine
#2B5D34
ΔE00 4.97
Forest Green
#2D5A27
ΔE00 5.06
Spruce
#0A5F38
ΔE00 5.22
Deep Green
#02590F
ΔE00 5.43
Darkgreen
#006400
ΔE00 6.02
Forest
#0B5509
ΔE00 6.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18662C #661852
analogous
#2B6618 #18662C #186653
triadic
#18662C #2C1866 #662C18
tetradic
#18662C #182B66 #661852 #665318
square
#18662C #182B66 #661852 #665318
split-complementary
#18662C #531866 #66182B
monochromatic
#06190B #0C3417 #18662C #249841 #2FC957
Accessibility & contrast
On white
7.06
#18662C on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.98
#18662C on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18662C
7.06:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18662C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18662C | 1.00 | 7.06 | 2.98 | 7.06 |
| #FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.98 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.06 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#675C27
Deuteranopia (green-blind)
#5E5630
Tritanopia (blue-blind)
#006459
Achromatopsia (no color)
#595959
Design tokens & code
CSS
--color: #18662c; /* rgb */ color: rgb(24, 102, 44); /* oklch */ color: oklch(45.0% 0.117 147.8);
Tailwind
colors: {
custom: {
50: '#629267',
500: '#18662c',
950: '#000000',
},
}SCSS
$custom: #18662c; $custom-light: #629267; $custom-dark: #000000;
JSON
{
"hex": "#18662c",
"rgb": {
"r": 24,
"g": 102,
"b": 44
},
"hsl": {
"h": 135.385,
"s": 61.905,
"l": 24.706
},
"oklch": {
"l": 0.44996,
"c": 0.11705,
"h": 147.8
},
"luminance": 0.09879
}Semantic roles & 50–950 ramp
primary
#18662C
secondary
#9C3E84
accent
#43BBE5
background
#F6F9F6
surface
#EBF1EB
border
#C6CBC6
text
#060D06
muted
#7A7E7A