#18661F#18661F
#18661F is a dark, vivid green. Relative luminance 0.098; OKLCH L 44.8% C 0.129 H 144.2°. Best body text is #FFFFFF at 7.10:1 contrast (WCAG AA passes).
Color values
| HEX | #18661F |
|---|---|
| RGB | rgb(24, 102, 31) |
| HSL | hsl(125, 62%, 25%) |
| HSV | hsv(125, 76%, 40%) |
| CMYK | cmyk(76.5%, 0%, 69.6%, 60%) |
| CIE-LAB | lab(37.47, -38.57, 32.44) |
| CIE-LCH | lch(37.47, 50.40, 139.93°) |
| OKLab | oklab(44.82% -0.1043 0.0751) |
| OKLCH | oklch(44.82% 0.129 144.2) |
| XYZ | xyz(5.3750, 9.7953, 2.9035) |
| Luminance | 0.0980 (WCAG relative) |
| Temperature | neutral |
| Family | green |
Closest named colors
Darkgreen
#006400
ΔE00 3.50
Deep Green
#02590F
ΔE00 4.33
Forest
#0B5509
ΔE00 5.57
Forest Green
#2D5A27
ΔE00 5.60
Pine
#2B5D34
ΔE00 6.81
Spruce
#0A5F38
ΔE00 7.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#18661F #66185F
analogous
#386618 #18661F #186646
triadic
#18661F #1F1866 #661F18
tetradic
#18661F #183866 #66185F #664618
square
#18661F #183866 #66185F #664618
split-complementary
#18661F #461866 #661838
monochromatic
#061908 #0C3410 #18661F #24982E #2FC93D
Accessibility & contrast
On white
7.10
#18661F on #FFFFFF
AA ✓AA large ✓AAA ✓
On black
2.96
#18661F on #000000
AA ✗AA large ✗AAA ✗
Best text color
#FFFFFF on #18661F
7.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##18661F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##18661F | 1.00 | 7.10 | 2.96 | 7.10 |
| #FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
| #000000 | 2.96 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 7.10 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#685C16
Deuteranopia (green-blind)
#5F5625
Tritanopia (blue-blind)
#006357
Achromatopsia (no color)
#585858
Design tokens & code
CSS
--color: #18661f; /* rgb */ color: rgb(24, 102, 31); /* oklch */ color: oklch(44.8% 0.129 144.2);
Tailwind
colors: {
custom: {
50: '#63925e',
500: '#18661f',
950: '#000000',
},
}SCSS
$custom: #18661f; $custom-light: #63925e; $custom-dark: #000000;
JSON
{
"hex": "#18661f",
"rgb": {
"r": 24,
"g": 102,
"b": 31
},
"hsl": {
"h": 125.385,
"s": 61.905,
"l": 24.706
},
"oklch": {
"l": 0.44823,
"c": 0.12857,
"h": 144.2
},
"luminance": 0.09796
}Semantic roles & 50–950 ramp
primary
#18661F
secondary
#9C3E94
accent
#43D6E5
background
#F6F9F5
surface
#EBF1E9
border
#C6CBC5
text
#060D04
muted
#7A7E79