#646D2B#646D2B
#646D2B is a mid, moderate yellow. Relative luminance 0.138; OKLCH L 51.2% C 0.090 H 116.2°. Best body text is #FFFFFF at 5.58:1 contrast (WCAG AA passes).
Color values
| HEX | #646D2B |
|---|---|
| RGB | rgb(100, 109, 43) |
| HSL | hsl(68, 43%, 30%) |
| HSV | hsv(68, 61%, 43%) |
| CMYK | cmyk(8.3%, 0%, 60.6%, 57.3%) |
| CIE-LAB | lab(43.98, -13.67, 34.96) |
| CIE-LCH | lch(43.98, 37.54, 111.36°) |
| OKLab | oklab(51.23% -0.0398 0.081) |
| OKLCH | oklch(51.23% 0.09 116.2) |
| XYZ | xyz(11.1604, 13.8212, 4.3649) |
| Luminance | 0.1382 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Green
#657432
ΔE00 2.88
Olive Drab
#6F7632
ΔE00 3.65
Darkolivegreen
#556B2F
ΔE00 4.57
Camo Green
#526525
ΔE00 4.72
Brownish Green
#6A6E09
ΔE00 5.18
Mud Green
#606602
ΔE00 5.23
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646D2B #342B6D
analogous
#6D552B #646D2B #436D2B
triadic
#646D2B #2B646D #6D2B64
tetradic
#646D2B #2B6D55 #342B6D #6D2B43
square
#646D2B #2B6D55 #342B6D #6D2B43
split-complementary
#646D2B #2B436D #552B6D
monochromatic
#141609 #3C411A #646D2B #8C993C #AEBC56
Accessibility & contrast
On white
5.58
#646D2B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.76
#646D2B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646D2B
5.58:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646D2B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646D2B | 1.00 | 5.58 | 3.76 | 5.58 |
| #FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.76 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.58 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746824
Deuteranopia (green-blind)
#73682F
Tritanopia (blue-blind)
#6A675F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #646d2b; /* rgb */ color: rgb(100, 109, 43); /* oklch */ color: oklch(51.2% 0.090 116.2);
Tailwind
colors: {
custom: {
50: '#929667',
500: '#646d2b',
950: '#000000',
},
}SCSS
$custom: #646d2b; $custom-light: #929667; $custom-dark: #000000;
JSON
{
"hex": "#646d2b",
"rgb": {
"r": 100,
"g": 109,
"b": 43
},
"hsl": {
"h": 68.182,
"s": 43.421,
"l": 29.804
},
"oklch": {
"l": 0.5123,
"c": 0.09026,
"h": 116.2
},
"luminance": 0.13821
}Semantic roles & 50–950 ramp
primary
#646D2B
secondary
#5F559F
accent
#55D366
background
#F9F9F6
surface
#F1F2EB
border
#CBCCC6
text
#0D0D06
muted
#7E7E7A