#646D1C#646D1C
#646D1C is a mid, moderate yellow. Relative luminance 0.137; OKLCH L 51.1% C 0.103 H 115.7°. Best body text is #FFFFFF at 5.61:1 contrast (WCAG AA passes).
Color values
| HEX | #646D1C |
|---|---|
| RGB | rgb(100, 109, 28) |
| HSL | hsl(67, 59%, 27%) |
| HSV | hsv(67, 74%, 43%) |
| CMYK | cmyk(8.3%, 0%, 74.3%, 57.3%) |
| CIE-LAB | lab(43.84, -14.77, 41.64) |
| CIE-LCH | lch(43.84, 44.18, 109.54°) |
| OKLab | oklab(51.08% -0.0446 0.0927) |
| OKLCH | oklch(51.08% 0.103 115.7) |
| XYZ | xyz(10.9341, 13.7306, 3.1727) |
| Luminance | 0.1373 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.97
Mud Green
#606602
ΔE00 3.29
Olive (survey)
#6E750E
ΔE00 4.11
Muddy Green
#657432
ΔE00 4.26
Olive Drab
#6F7632
ΔE00 4.26
Browny Green
#6F6C0A
ΔE00 4.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646D1C #251C6D
analogous
#6D4E1C #646D1C #3C6D1C
triadic
#646D1C #1C646D #6D1C64
tetradic
#646D1C #1C6D4E #251C6D #6D1C3C
square
#646D1C #1C6D4E #251C6D #6D1C3C
split-complementary
#646D1C #1C3C6D #4E1C6D
monochromatic
#161806 #373C0F #646D1C #919E29 #BBCC38
Accessibility & contrast
On white
5.61
#646D1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.75
#646D1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646D1C
5.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646D1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646D1C | 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)
#75670E
Deuteranopia (green-blind)
#746822
Tritanopia (blue-blind)
#6B665D
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #646d1c; /* rgb */ color: rgb(100, 109, 28); /* oklch */ color: oklch(51.1% 0.103 115.7);
Tailwind
colors: {
custom: {
50: '#93965e',
500: '#646d1c',
950: '#000000',
},
}SCSS
$custom: #646d1c; $custom-light: #93965e; $custom-dark: #000000;
JSON
{
"hex": "#646d1c",
"rgb": {
"r": 100,
"g": 109,
"b": 28
},
"hsl": {
"h": 66.667,
"s": 59.124,
"l": 26.863
},
"oklch": {
"l": 0.51083,
"c": 0.10289,
"h": 115.7
},
"luminance": 0.1373
}Semantic roles & 50–950 ramp
primary
#646D1C
secondary
#4E43A2
accent
#45E257
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D05
muted
#7E7E79