#666F1F#666F1F
#666F1F is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.8% C 0.103 H 115.6°. Best body text is #FFFFFF at 5.44:1 contrast (WCAG AA passes).
Color values
| HEX | #666F1F |
|---|---|
| RGB | rgb(102, 111, 31) |
| HSL | hsl(67, 56%, 28%) |
| HSV | hsv(67, 72%, 44%) |
| CMYK | cmyk(8.1%, 0%, 72.1%, 56.5%) |
| CIE-LAB | lab(44.65, -14.76, 41.26) |
| CIE-LCH | lch(44.65, 43.82, 109.68°) |
| OKLab | oklab(51.78% -0.0443 0.0924) |
| OKLCH | oklch(51.78% 0.103 115.6) |
| XYZ | xyz(11.4115, 14.2928, 3.4537) |
| Luminance | 0.1429 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 3.02
Olive Drab
#6F7632
ΔE00 3.55
Olive (survey)
#6E750E
ΔE00 3.68
Muddy Green
#657432
ΔE00 3.77
Mud Green
#606602
ΔE00 3.96
Brown Green
#706C11
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666F1F #281F6F
analogous
#6F501F #666F1F #3E6F1F
triadic
#666F1F #1F666F #6F1F66
tetradic
#666F1F #1F6F50 #281F6F #6F1F3E
square
#666F1F #1F6F50 #281F6F #6F1F3E
split-complementary
#666F1F #1F3E6F #501F6F
monochromatic
#161807 #3A3F12 #666F1F #929F2C #BAC93F
Accessibility & contrast
On white
5.44
#666F1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.86
#666F1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #666F1F
5.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666F1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##666F1F | 1.00 | 5.44 | 3.86 | 5.44 |
| #FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.86 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.44 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776912
Deuteranopia (green-blind)
#766A25
Tritanopia (blue-blind)
#6D685F
Achromatopsia (no color)
#6A6A6A
Design tokens & code
CSS
--color: #666f1f; /* rgb */ color: rgb(102, 111, 31); /* oklch */ color: oklch(51.8% 0.103 115.6);
Tailwind
colors: {
custom: {
50: '#949860',
500: '#666f1f',
950: '#000000',
},
}SCSS
$custom: #666f1f; $custom-light: #949860; $custom-dark: #000000;
JSON
{
"hex": "#666f1f",
"rgb": {
"r": 102,
"g": 111,
"b": 31
},
"hsl": {
"h": 66.75,
"s": 56.338,
"l": 27.843
},
"oklch": {
"l": 0.51778,
"c": 0.10251,
"h": 115.6
},
"luminance": 0.14293
}Semantic roles & 50–950 ramp
primary
#666F1F
secondary
#5147A3
accent
#48E059
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79