#646C1F#646C1F
#646C1F is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.9% C 0.099 H 115.1°. Best body text is #FFFFFF at 5.67:1 contrast (WCAG AA passes).
Color values
| HEX | #646C1F |
|---|---|
| RGB | rgb(100, 108, 31) |
| HSL | hsl(66, 55%, 27%) |
| HSV | hsv(66, 71%, 42%) |
| CMYK | cmyk(7.4%, 0%, 71.3%, 57.6%) |
| CIE-LAB | lab(43.56, -14.04, 40.10) |
| CIE-LCH | lch(43.56, 42.49, 109.30°) |
| OKLab | oklab(50.86% -0.0422 0.0901) |
| OKLCH | oklch(50.86% 0.099 115.1) |
| XYZ | xyz(10.8657, 13.5336, 3.3359) |
| Luminance | 0.1353 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 3.34
Mud Green
#606602
ΔE00 3.37
Muddy Green
#657432
ΔE00 4.20
Olive Drab
#6F7632
ΔE00 4.26
Brown Green
#706C11
ΔE00 4.61
Olive (survey)
#6E750E
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646C1F #271F6C
analogous
#6C4E1F #646C1F #3D6C1F
triadic
#646C1F #1F646C #6C1F64
tetradic
#646C1F #1F6C4E #271F6C #6C1F3D
square
#646C1F #1F6C4E #271F6C #6C1F3D
split-complementary
#646C1F #1F3D6C #4E1F6C
monochromatic
#161807 #383C11 #646C1F #909C2D #B9C83E
Accessibility & contrast
On white
5.67
#646C1F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.71
#646C1F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646C1F
5.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646C1F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646C1F | 1.00 | 5.67 | 3.71 | 5.67 |
| #FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.71 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746613
Deuteranopia (green-blind)
#736825
Tritanopia (blue-blind)
#6B665D
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #646c1f; /* rgb */ color: rgb(100, 108, 31); /* oklch */ color: oklch(50.9% 0.099 115.1);
Tailwind
colors: {
custom: {
50: '#939660',
500: '#646c1f',
950: '#000000',
},
}SCSS
$custom: #646c1f; $custom-light: #939660; $custom-dark: #000000;
JSON
{
"hex": "#646c1f",
"rgb": {
"r": 100,
"g": 108,
"b": 31
},
"hsl": {
"h": 66.234,
"s": 55.396,
"l": 27.255
},
"oklch": {
"l": 0.50859,
"c": 0.09945,
"h": 115.1
},
"luminance": 0.13533
}Semantic roles & 50–950 ramp
primary
#646C1F
secondary
#5047A0
accent
#49DF59
background
#F9F9F5
surface
#F2F1EA
border
#CCCBC6
text
#0D0D05
muted
#7E7E79