#666E18#666E18
#666E18 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.5% C 0.106 H 114.9°. Best body text is #FFFFFF at 5.51:1 contrast (WCAG AA passes).
Color values
| HEX | #666E18 |
|---|---|
| RGB | rgb(102, 110, 24) |
| HSL | hsl(66, 64%, 26%) |
| HSV | hsv(66, 78%, 43%) |
| CMYK | cmyk(7.3%, 0%, 78.2%, 56.9%) |
| CIE-LAB | lab(44.29, -14.61, 43.66) |
| CIE-LCH | lch(44.29, 46.04, 108.50°) |
| OKLab | oklab(51.48% -0.0446 0.0962) |
| OKLCH | oklch(51.48% 0.106 114.9) |
| XYZ | xyz(11.2206, 14.0428, 2.9834) |
| Luminance | 0.1404 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.12
Mud Green
#606602
ΔE00 3.18
Olive (survey)
#6E750E
ΔE00 3.29
Browny Green
#6F6C0A
ΔE00 3.88
Brown Green
#706C11
ΔE00 3.95
Olive Drab
#6F7632
ΔE00 4.31
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#666E18 #20186E
analogous
#6E4B18 #666E18 #3B6E18
triadic
#666E18 #18666E #6E1866
tetradic
#666E18 #186E4B #20186E #6E183B
square
#666E18 #186E4B #20186E #6E183B
split-complementary
#666E18 #183B6E #4B186E
monochromatic
#171905 #373C0D #666E18 #95A023 #C2D22F
Accessibility & contrast
On white
5.51
#666E18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.81
#666E18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #666E18
5.51:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##666E18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##666E18 | 1.00 | 5.51 | 3.81 | 5.51 |
| #FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.81 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.51 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766805
Deuteranopia (green-blind)
#76691F
Tritanopia (blue-blind)
#6D675E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #666e18; /* rgb */ color: rgb(102, 110, 24); /* oklch */ color: oklch(51.5% 0.106 114.9);
Tailwind
colors: {
custom: {
50: '#94975c',
500: '#666e18',
950: '#000000',
},
}SCSS
$custom: #666e18; $custom-light: #94975c; $custom-dark: #000000;
JSON
{
"hex": "#666e18",
"rgb": {
"r": 102,
"g": 110,
"b": 24
},
"hsl": {
"h": 65.581,
"s": 64.179,
"l": 26.275
},
"oklch": {
"l": 0.51477,
"c": 0.10604,
"h": 114.9
},
"luminance": 0.14043
}Semantic roles & 50–950 ramp
primary
#666E18
secondary
#483EA4
accent
#41E750
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0E0D04
muted
#7E7E79