#666B16#666B16
#666B16 is a mid, moderate yellow. Relative luminance 0.134; OKLCH L 50.7% C 0.104 H 113.0°. Best body text is #FFFFFF at 5.71:1 contrast (WCAG AA passes).
Color values
| HEX | #666B16 |
|---|---|
| RGB | rgb(102, 107, 22) |
| HSL | hsl(64, 66%, 25%) |
| HSV | hsv(64, 79%, 42%) |
| CMYK | cmyk(4.7%, 0%, 79.4%, 58%) |
| CIE-LAB | lab(43.36, -13.06, 43.51) |
| CIE-LCH | lch(43.36, 45.42, 106.71°) |
| OKLab | oklab(50.72% -0.0405 0.0955) |
| OKLCH | oklch(50.72% 0.104 113) |
| XYZ | xyz(10.8824, 13.3983, 2.7718) |
| Luminance | 0.1340 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.01
Mud Green
#606602
ΔE00 2.28
Browny Green
#6F6C0A
ΔE00 3.20
Brown Green
#706C11
ΔE00 3.25
Olive (survey)
#6E750E
ΔE00 4.04
Olive Drab
#6F7632
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666B16 #1B166B
analogous
#6B4516 #666B16 #3C6B16
triadic
#666B16 #16666B #6B1666
tetradic
#666B16 #166B45 #1B166B #6B163C
square
#666B16 #166B45 #1B166B #6B163C
split-complementary
#666B16 #163C6B #45166B
monochromatic
#181905 #36380C #666B16 #969E20 #C7D12B
Accessibility & contrast
On white
5.71
#666B16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.68
#666B16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #666B16
5.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666B16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##666B16 | 1.00 | 5.71 | 3.68 | 5.71 |
| #FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.68 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.71 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746603
Deuteranopia (green-blind)
#74671D
Tritanopia (blue-blind)
#6D645B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #666b16; /* rgb */ color: rgb(102, 107, 22); /* oklch */ color: oklch(50.7% 0.104 113.0);
Tailwind
colors: {
custom: {
50: '#95955b',
500: '#666b16',
950: '#000000',
},
}SCSS
$custom: #666b16; $custom-light: #95955b; $custom-dark: #000000;
JSON
{
"hex": "#666b16",
"rgb": {
"r": 102,
"g": 107,
"b": 22
},
"hsl": {
"h": 63.529,
"s": 65.891,
"l": 25.294
},
"oklch": {
"l": 0.50723,
"c": 0.10371,
"h": 113
},
"luminance": 0.13398
}Semantic roles & 50–950 ramp
primary
#666B16
secondary
#413BA1
accent
#3FE949
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0E0D04
muted
#7E7E79