#646E17#646E17
#646E17 is a mid, moderate yellow. Relative luminance 0.139; OKLCH L 51.3% C 0.107 H 116.1°. Best body text is #FFFFFF at 5.55:1 contrast (WCAG AA passes).
Color values
| HEX | #646E17 |
|---|---|
| RGB | rgb(100, 110, 23) |
| HSL | hsl(67, 65%, 26%) |
| HSV | hsv(67, 79%, 43%) |
| CMYK | cmyk(9.1%, 0%, 79.1%, 56.9%) |
| CIE-LAB | lab(44.12, -15.59, 43.80) |
| CIE-LCH | lch(44.12, 46.49, 109.59°) |
| OKLab | oklab(51.3% -0.0473 0.0964) |
| OKLCH | oklch(51.3% 0.107 116.1) |
| XYZ | xyz(10.9864, 13.9232, 2.9191) |
| Luminance | 0.1392 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.54
Mud Green
#606602
ΔE00 3.24
Olive (survey)
#6E750E
ΔE00 3.53
Browny Green
#6F6C0A
ΔE00 4.41
Olive Drab
#6F7632
ΔE00 4.47
Brown Green
#706C11
ΔE00 4.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646E17 #21176E
analogous
#6E4C17 #646E17 #386E17
triadic
#646E17 #17646E #6E1764
tetradic
#646E17 #176E4C #21176E #6E1738
square
#646E17 #176E4C #21176E #6E1738
split-complementary
#646E17 #17386E #4C176E
monochromatic
#171905 #363B0C #646E17 #92A122 #C0D32C
Accessibility & contrast
On white
5.55
#646E17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.78
#646E17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646E17
5.55:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646E17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646E17 | 1.00 | 5.55 | 3.78 | 5.55 |
| #FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.78 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.55 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766803
Deuteranopia (green-blind)
#75691F
Tritanopia (blue-blind)
#6B675E
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #646e17; /* rgb */ color: rgb(100, 110, 23); /* oklch */ color: oklch(51.3% 0.107 116.1);
Tailwind
colors: {
custom: {
50: '#93975c',
500: '#646e17',
950: '#000000',
},
}SCSS
$custom: #646e17; $custom-light: #93975c; $custom-dark: #000000;
JSON
{
"hex": "#646e17",
"rgb": {
"r": 100,
"g": 110,
"b": 23
},
"hsl": {
"h": 66.897,
"s": 65.414,
"l": 26.078
},
"oklch": {
"l": 0.51296,
"c": 0.10735,
"h": 116.1
},
"luminance": 0.13923
}Semantic roles & 50–950 ramp
primary
#646E17
secondary
#493DA4
accent
#3FE853
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79