#646B1C#646B1C
#646B1C is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.6% C 0.100 H 114.4°. Best body text is #FFFFFF at 5.73:1 contrast (WCAG AA passes).
Color values
| HEX | #646B1C |
|---|---|
| RGB | rgb(100, 107, 28) |
| HSL | hsl(65, 59%, 26%) |
| HSV | hsv(65, 74%, 42%) |
| CMYK | cmyk(6.5%, 0%, 73.8%, 58%) |
| CIE-LAB | lab(43.22, -13.68, 41.03) |
| CIE-LCH | lch(43.22, 43.25, 108.44°) |
| OKLab | oklab(50.59% -0.0415 0.0915) |
| OKLCH | oklch(50.59% 0.1 114.4) |
| XYZ | xyz(10.7231, 13.3088, 3.1024) |
| Luminance | 0.1331 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mud Green
#606602
ΔE00 2.83
Brownish Green
#6A6E09
ΔE00 3.01
Brown Green
#706C11
ΔE00 4.23
Browny Green
#6F6C0A
ΔE00 4.26
Olive (survey)
#6E750E
ΔE00 4.59
Olive Drab
#6F7632
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646B1C #231C6B
analogous
#6B4B1C #646B1C #3D6B1C
triadic
#646B1C #1C646B #6B1C64
tetradic
#646B1C #1C6B4B #231C6B #6B1C3D
square
#646B1C #1C6B4B #231C6B #6B1C3D
split-complementary
#646B1C #1C3D6B #4B1C6B
monochromatic
#171806 #373A0F #646B1C #919C29 #BECB37
Accessibility & contrast
On white
5.73
#646B1C on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#646B1C on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646B1C
5.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646B1C | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646B1C | 1.00 | 5.73 | 3.66 | 5.73 |
| #FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#73650F
Deuteranopia (green-blind)
#736722
Tritanopia (blue-blind)
#6B645B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #646b1c; /* rgb */ color: rgb(100, 107, 28); /* oklch */ color: oklch(50.6% 0.100 114.4);
Tailwind
colors: {
custom: {
50: '#93955e',
500: '#646b1c',
950: '#000000',
},
}SCSS
$custom: #646b1c; $custom-light: #93955e; $custom-dark: #000000;
JSON
{
"hex": "#646b1c",
"rgb": {
"r": 100,
"g": 107,
"b": 28
},
"hsl": {
"h": 65.316,
"s": 58.519,
"l": 26.471
},
"oklch": {
"l": 0.50586,
"c": 0.10044,
"h": 114.4
},
"luminance": 0.13309
}Semantic roles & 50–950 ramp
primary
#646B1C
secondary
#4B43A0
accent
#46E254
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D05
muted
#7E7E79