#666C18#666C18
#666C18 is a mid, moderate yellow. Relative luminance 0.136; OKLCH L 51.0% C 0.104 H 113.6°. Best body text is #FFFFFF at 5.64:1 contrast (WCAG AA passes).
Color values
| HEX | #666C18 |
|---|---|
| RGB | rgb(102, 108, 24) |
| HSL | hsl(64, 64%, 26%) |
| HSV | hsv(64, 78%, 42%) |
| CMYK | cmyk(5.6%, 0%, 77.8%, 57.6%) |
| CIE-LAB | lab(43.68, -13.51, 43.08) |
| CIE-LCH | lch(43.68, 45.15, 107.42°) |
| OKLab | oklab(50.98% -0.0416 0.095) |
| OKLCH | oklch(50.98% 0.104 113.6) |
| XYZ | xyz(11.0073, 13.6161, 2.9123) |
| Luminance | 0.1362 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.10
Mud Green
#606602
ΔE00 2.63
Browny Green
#6F6C0A
ΔE00 3.48
Brown Green
#706C11
ΔE00 3.52
Olive (survey)
#6E750E
ΔE00 3.83
Olive Drab
#6F7632
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666C18 #1E186C
analogous
#6C4818 #666C18 #3C6C18
triadic
#666C18 #18666C #6C1866
tetradic
#666C18 #186C48 #1E186C #6C183C
square
#666C18 #186C48 #1E186C #6C183C
split-complementary
#666C18 #183C6C #48186C
monochromatic
#181906 #373A0D #666C18 #959E23 #C5D02E
Accessibility & contrast
On white
5.64
#666C18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.72
#666C18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #666C18
5.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666C18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##666C18 | 1.00 | 5.64 | 3.72 | 5.64 |
| #FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.72 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746606
Deuteranopia (green-blind)
#74681F
Tritanopia (blue-blind)
#6D655C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #666c18; /* rgb */ color: rgb(102, 108, 24); /* oklch */ color: oklch(51.0% 0.104 113.6);
Tailwind
colors: {
custom: {
50: '#94955c',
500: '#666c18',
950: '#000000',
},
}SCSS
$custom: #666c18; $custom-light: #94955c; $custom-dark: #000000;
JSON
{
"hex": "#666c18",
"rgb": {
"r": 102,
"g": 108,
"b": 24
},
"hsl": {
"h": 64.286,
"s": 63.636,
"l": 25.882
},
"oklch": {
"l": 0.50983,
"c": 0.10366,
"h": 113.6
},
"luminance": 0.13616
}Semantic roles & 50–950 ramp
primary
#666C18
secondary
#453EA2
accent
#41E74D
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79