#646E22#646E22
#646E22 is a mid, moderate yellow. Relative luminance 0.140; OKLCH L 51.4% C 0.100 H 116.4°. Best body text is #FFFFFF at 5.53:1 contrast (WCAG AA passes).
Color values
| HEX | #646E22 |
|---|---|
| RGB | rgb(100, 110, 34) |
| HSL | hsl(68, 53%, 28%) |
| HSV | hsv(68, 69%, 43%) |
| CMYK | cmyk(9.1%, 0%, 69.1%, 56.9%) |
| CIE-LAB | lab(44.20, -14.93, 39.45) |
| CIE-LCH | lch(44.20, 42.18, 110.73°) |
| OKLab | oklab(51.38% -0.0444 0.0892) |
| OKLCH | oklch(51.38% 0.1 116.4) |
| XYZ | xyz(11.1204, 13.9768, 3.6250) |
| Luminance | 0.1398 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Muddy Green
#657432
ΔE00 3.35
Olive Drab
#6F7632
ΔE00 3.68
Brownish Green
#6A6E09
ΔE00 3.78
Mud Green
#606602
ΔE00 4.16
Olive (survey)
#6E750E
ΔE00 4.52
Brown Green
#706C11
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646E22 #2C226E
analogous
#6E5222 #646E22 #3E6E22
triadic
#646E22 #22646E #6E2264
tetradic
#646E22 #226E52 #2C226E #6E223E
square
#646E22 #226E52 #2C226E #6E223E
split-complementary
#646E22 #223E6E #52226E
monochromatic
#151707 #393F14 #646E22 #8E9D30 #B5C545
Accessibility & contrast
On white
5.53
#646E22 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.80
#646E22 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646E22
5.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646E22 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646E22 | 1.00 | 5.53 | 3.80 | 5.53 |
| #FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.80 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.53 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#766817
Deuteranopia (green-blind)
#756927
Tritanopia (blue-blind)
#6A685F
Achromatopsia (no color)
#686868
Design tokens & code
CSS
--color: #646e22; /* rgb */ color: rgb(100, 110, 34); /* oklch */ color: oklch(51.4% 0.100 116.4);
Tailwind
colors: {
custom: {
50: '#929762',
500: '#646e22',
950: '#000000',
},
}SCSS
$custom: #646e22; $custom-light: #929762; $custom-dark: #000000;
JSON
{
"hex": "#646e22",
"rgb": {
"r": 100,
"g": 110,
"b": 34
},
"hsl": {
"h": 67.895,
"s": 52.778,
"l": 28.235
},
"oklch": {
"l": 0.51383,
"c": 0.09963,
"h": 116.4
},
"luminance": 0.13977
}Semantic roles & 50–950 ramp
primary
#646E22
secondary
#564AA1
accent
#4CDC5F
background
#F9F9F5
surface
#F1F2EA
border
#CBCCC6
text
#0D0D05
muted
#7E7E79