#646F17#646F17
#646F17 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.5% C 0.109 H 116.7°. Best body text is #FFFFFF at 5.49:1 contrast (WCAG AA passes).
Color values
| HEX | #646F17 |
|---|---|
| RGB | rgb(100, 111, 23) |
| HSL | hsl(68, 66%, 26%) |
| HSV | hsv(68, 79%, 44%) |
| CMYK | cmyk(9.9%, 0%, 79.3%, 56.5%) |
| CIE-LAB | lab(44.43, -16.13, 44.09) |
| CIE-LCH | lch(44.43, 46.95, 110.09°) |
| OKLab | oklab(51.55% -0.0488 0.097) |
| OKLCH | oklch(51.55% 0.109 116.7) |
| XYZ | xyz(11.0949, 14.1402, 2.9553) |
| Luminance | 0.1414 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.69
Olive (survey)
#6E750E
ΔE00 3.35
Mud Green
#606602
ΔE00 3.59
Olive Drab
#6F7632
ΔE00 4.35
Murky Green
#6C7A0E
ΔE00 4.41
Muddy Green
#657432
ΔE00 4.42
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646F17 #22176F
analogous
#6F4E17 #646F17 #386F17
triadic
#646F17 #17646F #6F1764
tetradic
#646F17 #176F4E #22176F #6F1738
square
#646F17 #176F4E #22176F #6F1738
split-complementary
#646F17 #17386F #4E176F
monochromatic
#171905 #363C0C #646F17 #92A222 #BFD32D
Accessibility & contrast
On white
5.49
#646F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#646F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646F17
5.49:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646F17 | 1.00 | 5.49 | 3.83 | 5.49 |
| #FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.49 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776903
Deuteranopia (green-blind)
#766A1F
Tritanopia (blue-blind)
#6B685E
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #646f17; /* rgb */ color: rgb(100, 111, 23); /* oklch */ color: oklch(51.5% 0.109 116.7);
Tailwind
colors: {
custom: {
50: '#93985c',
500: '#646f17',
950: '#000000',
},
}SCSS
$custom: #646f17; $custom-light: #93985c; $custom-dark: #000000;
JSON
{
"hex": "#646f17",
"rgb": {
"r": 100,
"g": 111,
"b": 23
},
"hsl": {
"h": 67.5,
"s": 65.672,
"l": 26.275
},
"oklch": {
"l": 0.51546,
"c": 0.10856,
"h": 116.7
},
"luminance": 0.1414
}Semantic roles & 50–950 ramp
primary
#646F17
secondary
#4A3DA5
accent
#3FE954
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79