#646F20#646F20
#646F20 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.6% C 0.102 H 117.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #646F20 |
|---|---|
| RGB | rgb(100, 111, 32) |
| HSL | hsl(68, 55%, 28%) |
| HSV | hsv(68, 71%, 44%) |
| CMYK | cmyk(9.9%, 0%, 71.2%, 56.5%) |
| CIE-LAB | lab(44.49, -15.61, 40.63) |
| CIE-LCH | lch(44.49, 43.52, 111.02°) |
| OKLab | oklab(51.61% -0.0465 0.0913) |
| OKLCH | oklch(51.61% 0.102 117) |
| XYZ | xyz(11.2009, 14.1826, 3.5137) |
| Luminance | 0.1418 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Green
#657432
ΔE00 3.37
Brownish Green
#6A6E09
ΔE00 3.60
Olive Drab
#6F7632
ΔE00 3.65
Olive (survey)
#6E750E
ΔE00 4.14
Mud Green
#606602
ΔE00 4.21
Murky Green
#6C7A0E
ΔE00 5.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646F20 #2B206F
analogous
#6F5220 #646F20 #3D6F20
triadic
#646F20 #20646F #6F2064
tetradic
#646F20 #206F52 #2B206F #6F203D
square
#646F20 #206F52 #2B206F #6F203D
split-complementary
#646F20 #203D6F #52206F
monochromatic
#151807 #393F12 #646F20 #8F9F2E #B5C841
Accessibility & contrast
On white
5.47
#646F20 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#646F20 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646F20
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646F20 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646F20 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776914
Deuteranopia (green-blind)
#766A26
Tritanopia (blue-blind)
#6A695F
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #646f20; /* rgb */ color: rgb(100, 111, 32); /* oklch */ color: oklch(51.6% 0.102 117.0);
Tailwind
colors: {
custom: {
50: '#939861',
500: '#646f20',
950: '#000000',
},
}SCSS
$custom: #646f20; $custom-light: #939861; $custom-dark: #000000;
JSON
{
"hex": "#646f20",
"rgb": {
"r": 100,
"g": 111,
"b": 32
},
"hsl": {
"h": 68.354,
"s": 55.245,
"l": 28.039
},
"oklch": {
"l": 0.51614,
"c": 0.10247,
"h": 117
},
"luminance": 0.14182
}Semantic roles & 50–950 ramp
primary
#646F20
secondary
#5548A3
accent
#49DF5E
background
#F9F9F5
surface
#F2F2EA
border
#CCCCC6
text
#0D0D05
muted
#7E7E79