#646B16#646B16
#646B16 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.5% C 0.104 H 114.3°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #646B16 |
|---|---|
| RGB | rgb(100, 107, 22) |
| HSL | hsl(65, 66%, 25%) |
| HSV | hsv(65, 79%, 42%) |
| CMYK | cmyk(6.5%, 0%, 79.4%, 58%) |
| CIE-LAB | lab(43.19, -14.00, 43.29) |
| CIE-LCH | lch(43.19, 45.49, 107.92°) |
| OKLab | oklab(50.54% -0.043 0.0951) |
| OKLCH | oklch(50.54% 0.104 114.3) |
| XYZ | xyz(10.6584, 13.2828, 2.7613) |
| Luminance | 0.1328 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mud Green
#606602
ΔE00 2.27
Brownish Green
#6A6E09
ΔE00 2.38
Browny Green
#6F6C0A
ΔE00 3.80
Brown Green
#706C11
ΔE00 3.87
Olive (survey)
#6E750E
ΔE00 4.19
Olive Drab
#6F7632
ΔE00 5.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646B16 #1D166B
analogous
#6B4716 #646B16 #3A6B16
triadic
#646B16 #16646B #6B1664
tetradic
#646B16 #166B47 #1D166B #6B163A
square
#646B16 #166B47 #1D166B #6B163A
split-complementary
#646B16 #163A6B #47166B
monochromatic
#181905 #35380C #646B16 #939E20 #C3D12B
Accessibility & contrast
On white
5.74
#646B16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#646B16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646B16
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646B16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646B16 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736503
Deuteranopia (green-blind)
#73671D
Tritanopia (blue-blind)
#6B645B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #646b16; /* rgb */ color: rgb(100, 107, 22); /* oklch */ color: oklch(50.5% 0.104 114.3);
Tailwind
colors: {
custom: {
50: '#93955b',
500: '#646b16',
950: '#000000',
},
}SCSS
$custom: #646b16; $custom-light: #93955b; $custom-dark: #000000;
JSON
{
"hex": "#646b16",
"rgb": {
"r": 100,
"g": 107,
"b": 22
},
"hsl": {
"h": 64.941,
"s": 65.891,
"l": 25.294
},
"oklch": {
"l": 0.50543,
"c": 0.10435,
"h": 114.3
},
"luminance": 0.13283
}Semantic roles & 50–950 ramp
primary
#646B16
secondary
#443BA1
accent
#3FE94D
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79