#646F18#646F18
#646F18 is a mid, moderate yellow. Relative luminance 0.141; OKLCH L 51.6% C 0.108 H 116.7°. Best body text is #FFFFFF at 5.48:1 contrast (WCAG AA passes).
Color values
| HEX | #646F18 |
|---|---|
| RGB | rgb(100, 111, 24) |
| HSL | hsl(68, 64%, 26%) |
| HSV | hsv(68, 78%, 44%) |
| CMYK | cmyk(9.9%, 0%, 78.4%, 56.5%) |
| CIE-LAB | lab(44.44, -16.08, 43.74) |
| CIE-LCH | lch(44.44, 46.60, 110.18°) |
| OKLab | oklab(51.55% -0.0486 0.0964) |
| OKLCH | oklch(51.55% 0.108 116.7) |
| XYZ | xyz(11.1051, 14.1443, 3.0091) |
| Luminance | 0.1414 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.77
Olive (survey)
#6E750E
ΔE00 3.42
Mud Green
#606602
ΔE00 3.64
Olive Drab
#6F7632
ΔE00 4.27
Muddy Green
#657432
ΔE00 4.32
Murky Green
#6C7A0E
ΔE00 4.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646F18 #23186F
analogous
#6F4F18 #646F18 #396F18
triadic
#646F18 #18646F #6F1864
tetradic
#646F18 #186F4F #23186F #6F1839
square
#646F18 #186F4F #23186F #6F1839
split-complementary
#646F18 #18396F #4F186F
monochromatic
#171905 #373D0D #646F18 #91A123 #BED22F
Accessibility & contrast
On white
5.48
#646F18 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.83
#646F18 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646F18
5.48:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646F18 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646F18 | 1.00 | 5.48 | 3.83 | 5.48 |
| #FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.83 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.48 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776905
Deuteranopia (green-blind)
#766A20
Tritanopia (blue-blind)
#6B685F
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #646f18; /* rgb */ color: rgb(100, 111, 24); /* oklch */ color: oklch(51.6% 0.108 116.7);
Tailwind
colors: {
custom: {
50: '#93985d',
500: '#646f18',
950: '#000000',
},
}SCSS
$custom: #646f18; $custom-light: #93985d; $custom-dark: #000000;
JSON
{
"hex": "#646f18",
"rgb": {
"r": 100,
"g": 111,
"b": 24
},
"hsl": {
"h": 67.586,
"s": 64.444,
"l": 26.471
},
"oklch": {
"l": 0.51553,
"c": 0.10796,
"h": 116.7
},
"luminance": 0.14144
}Semantic roles & 50–950 ramp
primary
#646F18
secondary
#4B3EA5
accent
#40E755
background
#F9F9F5
surface
#F2F2E9
border
#CCCCC5
text
#0D0D04
muted
#7E7E79