#646B18#646B18
#646B18 is a mid, moderate yellow. Relative luminance 0.133; OKLCH L 50.6% C 0.103 H 114.4°. Best body text is #FFFFFF at 5.74:1 contrast (WCAG AA passes).
Color values
| HEX | #646B18 |
|---|---|
| RGB | rgb(100, 107, 24) |
| HSL | hsl(65, 63%, 26%) |
| HSV | hsv(65, 78%, 42%) |
| CMYK | cmyk(6.5%, 0%, 77.6%, 58%) |
| CIE-LAB | lab(43.20, -13.90, 42.57) |
| CIE-LCH | lch(43.20, 44.78, 108.09°) |
| OKLab | oklab(50.56% -0.0425 0.094) |
| OKLCH | oklch(50.56% 0.103 114.4) |
| XYZ | xyz(10.6784, 13.2909, 2.8668) |
| Luminance | 0.1329 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mud Green
#606602
ΔE00 2.43
Brownish Green
#6A6E09
ΔE00 2.57
Browny Green
#6F6C0A
ΔE00 3.94
Brown Green
#706C11
ΔE00 3.97
Olive (survey)
#6E750E
ΔE00 4.31
Olive Drab
#6F7632
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646B18 #1F186B
analogous
#6B4818 #646B18 #3A6B18
triadic
#646B18 #18646B #6B1864
tetradic
#646B18 #186B48 #1F186B #6B183A
square
#646B18 #186B48 #1F186B #6B183A
split-complementary
#646B18 #183A6B #48186B
monochromatic
#171906 #35390D #646B18 #939D23 #C1CF2E
Accessibility & contrast
On white
5.74
#646B18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.66
#646B18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646B18
5.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646B18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646B18 | 1.00 | 5.74 | 3.66 | 5.74 |
| #FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.66 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#736507
Deuteranopia (green-blind)
#73671F
Tritanopia (blue-blind)
#6B645B
Achromatopsia (no color)
#666666
Design tokens & code
CSS
--color: #646b18; /* rgb */ color: rgb(100, 107, 24); /* oklch */ color: oklch(50.6% 0.103 114.4);
Tailwind
colors: {
custom: {
50: '#93955c',
500: '#646b18',
950: '#000000',
},
}SCSS
$custom: #646b18; $custom-light: #93955c; $custom-dark: #000000;
JSON
{
"hex": "#646b18",
"rgb": {
"r": 100,
"g": 107,
"b": 24
},
"hsl": {
"h": 65.06,
"s": 63.359,
"l": 25.686
},
"oklch": {
"l": 0.50557,
"c": 0.10313,
"h": 114.4
},
"luminance": 0.13291
}Semantic roles & 50–950 ramp
primary
#646B18
secondary
#463EA1
accent
#41E64F
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79