#646D1B#646D1B
#646D1B is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.1% C 0.104 H 115.6°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #646D1B |
|---|---|
| RGB | rgb(100, 109, 27) |
| HSL | hsl(67, 60%, 27%) |
| HSV | hsv(67, 75%, 43%) |
| CMYK | cmyk(8.3%, 0%, 75.2%, 57.3%) |
| CIE-LAB | lab(43.84, -14.83, 42.03) |
| CIE-LCH | lch(43.84, 44.57, 109.44°) |
| OKLab | oklab(51.08% -0.0448 0.0934) |
| OKLCH | oklch(51.08% 0.104 115.6) |
| XYZ | xyz(10.9223, 13.7259, 3.1107) |
| Luminance | 0.1373 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.85
Mud Green
#606602
ΔE00 3.21
Olive (survey)
#6E750E
ΔE00 4.02
Olive Drab
#6F7632
ΔE00 4.33
Muddy Green
#657432
ΔE00 4.36
Browny Green
#6F6C0A
ΔE00 4.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646D1B #241B6D
analogous
#6D4D1B #646D1B #3B6D1B
triadic
#646D1B #1B646D #6D1B64
tetradic
#646D1B #1B6D4D #241B6D #6D1B3B
square
#646D1B #1B6D4D #241B6D #6D1B3B
split-complementary
#646D1B #1B3B6D #4D1B6D
monochromatic
#171906 #373C0F #646D1B #919E27 #BCCD35
Accessibility & contrast
On white
5.61
#646D1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#646D1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646D1B
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646D1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646D1B | 1.00 | 5.61 | 3.75 | 5.61 |
| #FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.75 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#75670C
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#6B665D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #646d1b; /* rgb */ color: rgb(100, 109, 27); /* oklch */ color: oklch(51.1% 0.104 115.6);
Tailwind
colors: {
custom: {
50: '#93965e',
500: '#646d1b',
950: '#000000',
},
}SCSS
$custom: #646d1b; $custom-light: #93965e; $custom-dark: #000000;
JSON
{
"hex": "#646d1b",
"rgb": {
"r": 100,
"g": 109,
"b": 27
},
"hsl": {
"h": 66.585,
"s": 60.294,
"l": 26.667
},
"oklch": {
"l": 0.51075,
"c": 0.10358,
"h": 115.6
},
"luminance": 0.13726
}Semantic roles & 50–950 ramp
primary
#646D1B
secondary
#4C42A2
accent
#44E356
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79