#646A1B#646A1B
#646A1B is a mid, moderate yellow. Relative luminance 0.131; OKLCH L 50.3% C 0.100 H 113.8°. Best body text is #FFFFFF at 5.80:1 contrast (WCAG AA passes).
Color values
| HEX | #646A1B |
|---|---|
| RGB | rgb(100, 106, 27) |
| HSL | hsl(65, 59%, 26%) |
| HSV | hsv(65, 75%, 42%) |
| CMYK | cmyk(5.7%, 0%, 74.5%, 58.4%) |
| CIE-LAB | lab(42.91, -13.19, 41.12) |
| CIE-LCH | lch(42.91, 43.18, 107.78°) |
| OKLab | oklab(50.33% -0.0402 0.0915) |
| OKLCH | oklch(50.33% 0.1 113.8) |
| XYZ | xyz(10.6077, 13.0967, 3.0058) |
| Luminance | 0.1310 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mud Green
#606602
ΔE00 2.55
Brownish Green
#6A6E09
ΔE00 3.00
Brown Green
#706C11
ΔE00 4.04
Browny Green
#6F6C0A
ΔE00 4.08
Olive (survey)
#6E750E
ΔE00 4.80
Olive Drab
#6F7632
ΔE00 5.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646A1B #211B6A
analogous
#6A481B #646A1B #3C6A1B
triadic
#646A1B #1B646A #6A1B64
tetradic
#646A1B #1B6A48 #211B6A #6A1B3C
square
#646A1B #1B6A48 #211B6A #6A1B3C
split-complementary
#646A1B #1B3C6A #481B6A
monochromatic
#171806 #36390F #646A1B #929B27 #C0CB34
Accessibility & contrast
On white
5.80
#646A1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.62
#646A1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646A1B
5.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646A1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646A1B | 1.00 | 5.80 | 3.62 | 5.80 |
| #FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.62 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.80 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#72650D
Deuteranopia (green-blind)
#726621
Tritanopia (blue-blind)
#6B635B
Achromatopsia (no color)
#656565
Design tokens & code
CSS
--color: #646a1b; /* rgb */ color: rgb(100, 106, 27); /* oklch */ color: oklch(50.3% 0.100 113.8);
Tailwind
colors: {
custom: {
50: '#93945d',
500: '#646a1b',
950: '#000000',
},
}SCSS
$custom: #646a1b; $custom-light: #93945d; $custom-dark: #000000;
JSON
{
"hex": "#646a1b",
"rgb": {
"r": 100,
"g": 106,
"b": 27
},
"hsl": {
"h": 64.557,
"s": 59.398,
"l": 26.078
},
"oklch": {
"l": 0.50331,
"c": 0.09993,
"h": 113.8
},
"luminance": 0.13097
}Semantic roles & 50–950 ramp
primary
#646A1B
secondary
#49429F
accent
#45E351
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79