#646F22#646F22
#646F22 is a mid, moderate yellow. Relative luminance 0.142; OKLCH L 51.6% C 0.101 H 117.0°. Best body text is #FFFFFF at 5.47:1 contrast (WCAG AA passes).
Color values
| HEX | #646F22 |
|---|---|
| RGB | rgb(100, 111, 34) |
| HSL | hsl(69, 53%, 28%) |
| HSV | hsv(69, 69%, 44%) |
| CMYK | cmyk(9.9%, 0%, 69.4%, 56.5%) |
| CIE-LAB | lab(44.51, -15.48, 39.77) |
| CIE-LCH | lch(44.51, 42.68, 111.26°) |
| OKLab | oklab(51.63% -0.0459 0.0899) |
| OKLCH | oklch(51.63% 0.101 117) |
| XYZ | xyz(11.2289, 14.1938, 3.6612) |
| Luminance | 0.1419 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Green
#657432
ΔE00 3.12
Olive Drab
#6F7632
ΔE00 3.52
Brownish Green
#6A6E09
ΔE00 3.85
Olive (survey)
#6E750E
ΔE00 4.37
Mud Green
#606602
ΔE00 4.41
Murky Green
#6C7A0E
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646F22 #2D226F
analogous
#6F5322 #646F22 #3D6F22
triadic
#646F22 #22646F #6F2264
tetradic
#646F22 #226F53 #2D226F #6F223D
square
#646F22 #226F53 #2D226F #6F223D
split-complementary
#646F22 #223D6F #53226F
monochromatic
#151707 #3A4014 #646F22 #8E9E30 #B4C645
Accessibility & contrast
On white
5.47
#646F22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.84
#646F22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646F22
5.47:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646F22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646F22 | 1.00 | 5.47 | 3.84 | 5.47 |
| #FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.84 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.47 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#776917
Deuteranopia (green-blind)
#766A28
Tritanopia (blue-blind)
#6A695F
Achromatopsia (no color)
#696969
Design tokens & code
CSS
--color: #646f22; /* rgb */ color: rgb(100, 111, 34); /* oklch */ color: oklch(51.6% 0.101 117.0);
Tailwind
colors: {
custom: {
50: '#929862',
500: '#646f22',
950: '#000000',
},
}SCSS
$custom: #646f22; $custom-light: #929862; $custom-dark: #000000;
JSON
{
"hex": "#646f22",
"rgb": {
"r": 100,
"g": 111,
"b": 34
},
"hsl": {
"h": 68.571,
"s": 53.103,
"l": 28.431
},
"oklch": {
"l": 0.51632,
"c": 0.1009,
"h": 117
},
"luminance": 0.14194
}Semantic roles & 50–950 ramp
primary
#646F22
secondary
#574AA2
accent
#4BDD60
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0D05
muted
#7E7E79