#646C20#646C20
#646C20 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.9% C 0.099 H 115.1°. Best body text is #FFFFFF at 5.66:1 contrast (WCAG AA passes).
Color values
| HEX | #646C20 |
|---|---|
| RGB | rgb(100, 108, 32) |
| HSL | hsl(66, 54%, 27%) |
| HSV | hsv(66, 70%, 42%) |
| CMYK | cmyk(7.4%, 0%, 70.4%, 57.6%) |
| CIE-LAB | lab(43.56, -13.98, 39.68) |
| CIE-LCH | lch(43.56, 42.07, 109.40°) |
| OKLab | oklab(50.87% -0.0419 0.0893) |
| OKLCH | oklch(50.87% 0.099 115.1) |
| XYZ | xyz(10.8791, 13.5389, 3.4064) |
| Luminance | 0.1354 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 3.47
Mud Green
#606602
ΔE00 3.48
Muddy Green
#657432
ΔE00 4.10
Olive Drab
#6F7632
ΔE00 4.20
Brown Green
#706C11
ΔE00 4.70
Olive (survey)
#6E750E
ΔE00 4.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646C20 #28206C
analogous
#6C4E20 #646C20 #3E6C20
triadic
#646C20 #20646C #6C2064
tetradic
#646C20 #206C4E #28206C #6C203E
square
#646C20 #206C4E #28206C #6C203E
split-complementary
#646C20 #203E6C #4E206C
monochromatic
#161807 #383D12 #646C20 #909B2E #B8C640
Accessibility & contrast
On white
5.66
#646C20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#646C20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646C20
5.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646C20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646C20 | 1.00 | 5.66 | 3.71 | 5.66 |
| #FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.66 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746615
Deuteranopia (green-blind)
#736825
Tritanopia (blue-blind)
#6B665D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #646c20; /* rgb */ color: rgb(100, 108, 32); /* oklch */ color: oklch(50.9% 0.099 115.1);
Tailwind
colors: {
custom: {
50: '#929660',
500: '#646c20',
950: '#000000',
},
}SCSS
$custom: #646c20; $custom-light: #929660; $custom-dark: #000000;
JSON
{
"hex": "#646c20",
"rgb": {
"r": 100,
"g": 108,
"b": 32
},
"hsl": {
"h": 66.316,
"s": 54.286,
"l": 27.451
},
"oklch": {
"l": 0.50868,
"c": 0.09868,
"h": 115.1
},
"luminance": 0.13539
}Semantic roles & 50–950 ramp
primary
#646C20
secondary
#5148A0
accent
#4ADE5A
background
#F9F9F5
surface
#F1F1EA
border
#CBCBC6
text
#0D0D05
muted
#7E7E79