#646C1B#646C1B
#646C1B is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.8% C 0.102 H 115.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #646C1B |
|---|---|
| RGB | rgb(100, 108, 27) |
| HSL | hsl(66, 60%, 26%) |
| HSV | hsv(66, 75%, 42%) |
| CMYK | cmyk(7.4%, 0%, 75%, 57.6%) |
| CIE-LAB | lab(43.53, -14.29, 41.73) |
| CIE-LCH | lch(43.53, 44.10, 108.90°) |
| OKLab | oklab(50.83% -0.0433 0.0927) |
| OKLCH | oklch(50.83% 0.102 115) |
| XYZ | xyz(10.8162, 13.5138, 3.0753) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.85
Mud Green
#606602
ΔE00 2.94
Olive (survey)
#6E750E
ΔE00 4.25
Browny Green
#6F6C0A
ΔE00 4.31
Brown Green
#706C11
ΔE00 4.31
Olive Drab
#6F7632
ΔE00 4.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646C1B #231B6C
analogous
#6C4C1B #646C1B #3C6C1B
triadic
#646C1B #1B646C #6C1B64
tetradic
#646C1B #1B6C4C #231B6C #6C1B3C
square
#646C1B #1B6C4C #231B6C #6C1B3C
split-complementary
#646C1B #1B3C6C #4C1B6C
monochromatic
#171806 #373B0F #646C1B #919D27 #BECC35
Accessibility & contrast
On white
5.67
#646C1B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#646C1B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646C1B
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646C1B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646C1B | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74660C
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#6B655C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #646c1b; /* rgb */ color: rgb(100, 108, 27); /* oklch */ color: oklch(50.8% 0.102 115.0);
Tailwind
colors: {
custom: {
50: '#93965e',
500: '#646c1b',
950: '#000000',
},
}SCSS
$custom: #646c1b; $custom-light: #93965e; $custom-dark: #000000;
JSON
{
"hex": "#646c1b",
"rgb": {
"r": 100,
"g": 108,
"b": 27
},
"hsl": {
"h": 65.926,
"s": 60,
"l": 26.471
},
"oklch": {
"l": 0.50827,
"c": 0.10235,
"h": 115
},
"luminance": 0.13514
}Semantic roles & 50–950 ramp
primary
#646C1B
secondary
#4B42A1
accent
#45E354
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D05
muted
#7E7E79