#646C1A#646C1A
#646C1A is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.8% C 0.103 H 115.0°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #646C1A |
|---|---|
| RGB | rgb(100, 108, 26) |
| HSL | hsl(66, 61%, 26%) |
| HSV | hsv(66, 76%, 42%) |
| CMYK | cmyk(7.4%, 0%, 75.9%, 57.6%) |
| CIE-LAB | lab(43.52, -14.34, 42.11) |
| CIE-LCH | lch(43.52, 44.49, 108.81°) |
| OKLab | oklab(50.82% -0.0436 0.0934) |
| OKLCH | oklch(50.82% 0.103 115) |
| XYZ | xyz(10.8048, 13.5092, 3.0154) |
| Luminance | 0.1351 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.73
Mud Green
#606602
ΔE00 2.85
Olive (survey)
#6E750E
ΔE00 4.18
Browny Green
#6F6C0A
ΔE00 4.23
Brown Green
#706C11
ΔE00 4.25
Olive Drab
#6F7632
ΔE00 4.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646C1A #221A6C
analogous
#6C4B1A #646C1A #3B6C1A
triadic
#646C1A #1A646C #6C1A64
tetradic
#646C1A #1A6C4B #221A6C #6C1A3B
square
#646C1A #1A6C4B #221A6C #6C1A3B
split-complementary
#646C1A #1A3B6C #4B1A6C
monochromatic
#171906 #363B0E #646C1A #929D26 #BFCE33
Accessibility & contrast
On white
5.67
#646C1A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#646C1A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646C1A
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646C1A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646C1A | 1.00 | 5.67 | 3.70 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#74660A
Deuteranopia (green-blind)
#746821
Tritanopia (blue-blind)
#6B655C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #646c1a; /* rgb */ color: rgb(100, 108, 26); /* oklch */ color: oklch(50.8% 0.103 115.0);
Tailwind
colors: {
custom: {
50: '#93965d',
500: '#646c1a',
950: '#000000',
},
}SCSS
$custom: #646c1a; $custom-light: #93965d; $custom-dark: #000000;
JSON
{
"hex": "#646c1a",
"rgb": {
"r": 100,
"g": 108,
"b": 26
},
"hsl": {
"h": 65.854,
"s": 61.194,
"l": 26.275
},
"oklch": {
"l": 0.50819,
"c": 0.10303,
"h": 115
},
"luminance": 0.13509
}Semantic roles & 50–950 ramp
primary
#646C1A
secondary
#4A41A1
accent
#43E453
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79