#646D18#646D18
#646D18 is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.1% C 0.106 H 115.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #646D18 |
|---|---|
| RGB | rgb(100, 109, 24) |
| HSL | hsl(66, 64%, 26%) |
| HSV | hsv(66, 78%, 43%) |
| CMYK | cmyk(8.3%, 0%, 78%, 57.3%) |
| CIE-LAB | lab(43.82, -14.99, 43.15) |
| CIE-LCH | lch(43.82, 45.68, 109.16°) |
| OKLab | oklab(51.05% -0.0456 0.0952) |
| OKLCH | oklch(51.05% 0.106 115.6) |
| XYZ | xyz(10.8893, 13.7127, 2.9372) |
| Luminance | 0.1371 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.55
Mud Green
#606602
ΔE00 2.98
Olive (survey)
#6E750E
ΔE00 3.80
Browny Green
#6F6C0A
ΔE00 4.26
Brown Green
#706C11
ΔE00 4.33
Olive Drab
#6F7632
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646D18 #21186D
analogous
#6D4B18 #646D18 #396D18
triadic
#646D18 #18646D #6D1864
tetradic
#646D18 #186D4B #21186D #6D1839
square
#646D18 #186D4B #21186D #6D1839
split-complementary
#646D18 #18396D #4B186D
monochromatic
#171906 #363B0D #646D18 #929F23 #C0D12E
Accessibility & contrast
On white
5.61
#646D18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.74
#646D18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646D18
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646D18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646D18 | 1.00 | 5.61 | 3.74 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.74 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#756706
Deuteranopia (green-blind)
#75681F
Tritanopia (blue-blind)
#6B665D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #646d18; /* rgb */ color: rgb(100, 109, 24); /* oklch */ color: oklch(51.1% 0.106 115.6);
Tailwind
colors: {
custom: {
50: '#93965c',
500: '#646d18',
950: '#000000',
},
}SCSS
$custom: #646d18; $custom-light: #93965c; $custom-dark: #000000;
JSON
{
"hex": "#646d18",
"rgb": {
"r": 100,
"g": 109,
"b": 24
},
"hsl": {
"h": 66.353,
"s": 63.91,
"l": 26.078
},
"oklch": {
"l": 0.51054,
"c": 0.10554,
"h": 115.6
},
"luminance": 0.13713
}Semantic roles & 50–950 ramp
primary
#646D18
secondary
#493EA3
accent
#41E752
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79