#646C16#646C16
#646C16 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.8% C 0.106 H 115.0°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #646C16 |
|---|---|
| RGB | rgb(100, 108, 22) |
| HSL | hsl(66, 66%, 25%) |
| HSV | hsv(66, 80%, 42%) |
| CMYK | cmyk(7.4%, 0%, 79.6%, 57.6%) |
| CIE-LAB | lab(43.50, -14.55, 43.57) |
| CIE-LCH | lch(43.50, 45.94, 108.46°) |
| OKLab | oklab(50.79% -0.0445 0.0957) |
| OKLCH | oklch(50.79% 0.106 115) |
| XYZ | xyz(10.7632, 13.4926, 2.7962) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.34
Mud Green
#606602
ΔE00 2.55
Olive (survey)
#6E750E
ΔE00 3.92
Browny Green
#6F6C0A
ΔE00 3.96
Brown Green
#706C11
ΔE00 4.04
Olive Drab
#6F7632
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646C16 #1E166C
analogous
#6C4916 #646C16 #396C16
triadic
#646C16 #16646C #6C1664
tetradic
#646C16 #166C49 #1E166C #6C1639
square
#646C16 #166C49 #1E166C #6C1639
split-complementary
#646C16 #16396C #49166C
monochromatic
#181905 #35390C #646C16 #939F20 #C2D22B
Accessibility & contrast
On white
5.68
#646C16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#646C16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646C16
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646C16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646C16 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746602
Deuteranopia (green-blind)
#74671E
Tritanopia (blue-blind)
#6B655C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #646c16; /* rgb */ color: rgb(100, 108, 22); /* oklch */ color: oklch(50.8% 0.106 115.0);
Tailwind
colors: {
custom: {
50: '#93965b',
500: '#646c16',
950: '#000000',
},
}SCSS
$custom: #646c16; $custom-light: #93965b; $custom-dark: #000000;
JSON
{
"hex": "#646c16",
"rgb": {
"r": 100,
"g": 108,
"b": 22
},
"hsl": {
"h": 65.581,
"s": 66.154,
"l": 25.49
},
"oklch": {
"l": 0.50792,
"c": 0.10554,
"h": 115
},
"luminance": 0.13492
}Semantic roles & 50–950 ramp
primary
#646C16
secondary
#453CA2
accent
#3FE94F
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79