#646F16#646F16
#646F16 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.5% C 0.109 H 116.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #646F16 |
|---|---|
| RGB | rgb(100, 111, 22) |
| HSL | hsl(67, 67%, 26%) |
| HSV | hsv(67, 80%, 44%) |
| CMYK | cmyk(9.9%, 0%, 80.2%, 56.5%) |
| CIE-LAB | lab(44.43, -16.18, 44.43) |
| CIE-LCH | lch(44.43, 47.29, 110.00°) |
| OKLab | oklab(51.54% -0.049 0.0975) |
| OKLCH | oklch(51.54% 0.109 116.7) |
| XYZ | xyz(11.0851, 14.1363, 2.9035) |
| Luminance | 0.1414 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.61
Olive (survey)
#6E750E
ΔE00 3.29
Mud Green
#606602
ΔE00 3.54
Murky Green
#6C7A0E
ΔE00 4.37
Olive Drab
#6F7632
ΔE00 4.43
Olive Green
#677A04
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646F16 #21166F
analogous
#6F4D16 #646F16 #376F16
triadic
#646F16 #16646F #6F1664
tetradic
#646F16 #166F4D #21166F #6F1637
square
#646F16 #166F4D #21166F #6F1637
split-complementary
#646F16 #16376F #4D166F
monochromatic
#171A05 #363C0C #646F16 #92A220 #C0D52B
Accessibility & contrast
On white
5.49
#646F16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#646F16 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646F16
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646F16 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646F16 | 1.00 | 5.49 | 3.83 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776901
Deuteranopia (green-blind)
#766A1E
Tritanopia (blue-blind)
#6B685E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #646f16; /* rgb */ color: rgb(100, 111, 22); /* oklch */ color: oklch(51.5% 0.109 116.7);
Tailwind
colors: {
custom: {
50: '#93985c',
500: '#646f16',
950: '#000000',
},
}SCSS
$custom: #646f16; $custom-light: #93985c; $custom-dark: #000000;
JSON
{
"hex": "#646f16",
"rgb": {
"r": 100,
"g": 111,
"b": 22
},
"hsl": {
"h": 67.416,
"s": 66.917,
"l": 26.078
},
"oklch": {
"l": 0.5154,
"c": 0.10915,
"h": 116.7
},
"luminance": 0.14136
}Semantic roles & 50–950 ramp
primary
#646F16
secondary
#493CA5
accent
#3EEA53
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79