#646A2B#646A2B
#646A2B is a mid, moderate yellow. Relative luminance 0.132; OKLCH L 50.5% C 0.086 H 114.0°. Best body text is #FFFFFF at 5.77:1 contrast (WCAG AA passes).
Color values
| HEX | #646A2B |
|---|---|
| RGB | rgb(100, 106, 43) |
| HSL | hsl(66, 42%, 29%) |
| HSV | hsv(66, 59%, 42%) |
| CMYK | cmyk(5.7%, 0%, 59.4%, 58.4%) |
| CIE-LAB | lab(43.05, -12.01, 33.92) |
| CIE-LCH | lch(43.05, 35.98, 109.50°) |
| OKLab | oklab(50.49% -0.0351 0.0788) |
| OKLCH | oklch(50.49% 0.086 114) |
| XYZ | xyz(10.8458, 13.1920, 4.2600) |
| Luminance | 0.1319 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Green
#657432
ΔE00 4.10
Olive Drab
#6F7632
ΔE00 4.52
Camo Green
#526525
ΔE00 4.74
Mud Green
#606602
ΔE00 5.01
Darkolivegreen
#556B2F
ΔE00 5.04
Brownish Green
#6A6E09
ΔE00 5.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646A2B #312B6A
analogous
#6A512B #646A2B #456A2B
triadic
#646A2B #2B646A #6A2B64
tetradic
#646A2B #2B6A51 #312B6A #6A2B45
square
#646A2B #2B6A51 #312B6A #6A2B45
split-complementary
#646A2B #2B456A #512B6A
monochromatic
#151609 #3B3E19 #646A2B #8D963D #B1BA55
Accessibility & contrast
On white
5.77
#646A2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.64
#646A2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646A2B
5.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646A2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646A2B | 1.00 | 5.77 | 3.64 | 5.77 |
| #FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.64 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#716524
Deuteranopia (green-blind)
#71662F
Tritanopia (blue-blind)
#6A645C
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #646a2b; /* rgb */ color: rgb(100, 106, 43); /* oklch */ color: oklch(50.5% 0.086 114.0);
Tailwind
colors: {
custom: {
50: '#929467',
500: '#646a2b',
950: '#000000',
},
}SCSS
$custom: #646a2b; $custom-light: #929467; $custom-dark: #000000;
JSON
{
"hex": "#646a2b",
"rgb": {
"r": 100,
"g": 106,
"b": 43
},
"hsl": {
"h": 65.714,
"s": 42.282,
"l": 29.216
},
"oklch": {
"l": 0.5049,
"c": 0.08627,
"h": 114
},
"luminance": 0.13192
}Semantic roles & 50–950 ramp
primary
#646A2B
secondary
#5C559C
accent
#56D262
background
#F9F9F6
surface
#F1F1EB
border
#CBCBC6
text
#0D0D06
muted
#7E7E7A