#666F18#666F18
#666F18 is a mid, moderate yellow. Relative luminance 0.143; OKLCH L 51.7% C 0.107 H 115.5°. Best body text is #FFFFFF at 5.45:1 contrast (WCAG AA passes).
Color values
| HEX | #666F18 |
|---|---|
| RGB | rgb(102, 111, 24) |
| HSL | hsl(66, 64%, 26%) |
| HSV | hsv(66, 78%, 44%) |
| CMYK | cmyk(8.1%, 0%, 78.4%, 56.5%) |
| CIE-LAB | lab(44.60, -15.15, 43.95) |
| CIE-LCH | lch(44.60, 46.49, 109.02°) |
| OKLab | oklab(51.73% -0.0461 0.0968) |
| OKLCH | oklch(51.73% 0.107 115.5) |
| XYZ | xyz(11.3291, 14.2598, 3.0196) |
| Luminance | 0.1426 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.25
Olive (survey)
#6E750E
ΔE00 3.06
Mud Green
#606602
ΔE00 3.50
Browny Green
#6F6C0A
ΔE00 4.12
Olive Drab
#6F7632
ΔE00 4.16
Brown Green
#706C11
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666F18 #21186F
analogous
#6F4D18 #666F18 #3B6F18
triadic
#666F18 #18666F #6F1866
tetradic
#666F18 #186F4D #21186F #6F183B
square
#666F18 #186F4D #21186F #6F183B
split-complementary
#666F18 #183B6F #4D186F
monochromatic
#171905 #383D0D #666F18 #94A123 #C1D22F
Accessibility & contrast
On white
5.45
#666F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.85
#666F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #666F18
5.45:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##666F18 | 1.00 | 5.45 | 3.85 | 5.45 |
| #FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.85 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.45 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776905
Deuteranopia (green-blind)
#776A20
Tritanopia (blue-blind)
#6D685F
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #666f18; /* rgb */ color: rgb(102, 111, 24); /* oklch */ color: oklch(51.7% 0.107 115.5);
Tailwind
colors: {
custom: {
50: '#94985d',
500: '#666f18',
950: '#000000',
},
}SCSS
$custom: #666f18; $custom-light: #94985d; $custom-dark: #000000;
JSON
{
"hex": "#666f18",
"rgb": {
"r": 102,
"g": 111,
"b": 24
},
"hsl": {
"h": 66.207,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.51725,
"c": 0.10723,
"h": 115.5
},
"luminance": 0.1426
}Semantic roles & 50–950 ramp
primary
#666F18
secondary
#493EA5
accent
#40E752
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79