#646C15#646C15
#646C15 is a mid, moderate yellow. Relative luminance 0.135; OKLCH L 50.8% C 0.106 H 114.9°. Best body text is #FFFFFF at 5.68:1 contrast (WCAG AA passes).
Color values
| HEX | #646C15 |
|---|---|
| RGB | rgb(100, 108, 21) |
| HSL | hsl(66, 67%, 25%) |
| HSV | hsv(66, 81%, 42%) |
| CMYK | cmyk(7.4%, 0%, 80.6%, 57.6%) |
| CIE-LAB | lab(43.49, -14.59, 43.92) |
| CIE-LCH | lch(43.49, 46.28, 108.38°) |
| OKLab | oklab(50.79% -0.0447 0.0962) |
| OKLCH | oklch(50.79% 0.106 114.9) |
| XYZ | xyz(10.7538, 13.4888, 2.7464) |
| Luminance | 0.1349 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brownish Green
#6A6E09
ΔE00 2.25
Mud Green
#606602
ΔE00 2.48
Olive (survey)
#6E750E
ΔE00 3.87
Browny Green
#6F6C0A
ΔE00 3.90
Brown Green
#706C11
ΔE00 4.00
Olive Drab
#6F7632
ΔE00 4.95
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#646C15 #1D156C
analogous
#6C4815 #646C15 #396C15
triadic
#646C15 #15646C #6C1564
tetradic
#646C15 #156C48 #1D156C #6C1539
square
#646C15 #156C48 #1D156C #6C1539
split-complementary
#646C15 #15396C #48156C
monochromatic
#181A05 #35390B #646C15 #939F1F #C3D229
Accessibility & contrast
On white
5.68
#646C15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
3.70
#646C15 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #646C15
5.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##646C15 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##646C15 | 1.00 | 5.68 | 3.70 | 5.68 |
| #FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
| #000000 | 3.70 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.68 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#746601
Deuteranopia (green-blind)
#74671D
Tritanopia (blue-blind)
#6B655C
Achromatopsia (no color)
#676767
Design tokens & code
CSS
--color: #646c15; /* rgb */ color: rgb(100, 108, 21); /* oklch */ color: oklch(50.8% 0.106 114.9);
Tailwind
colors: {
custom: {
50: '#93965b',
500: '#646c15',
950: '#000000',
},
}SCSS
$custom: #646c15; $custom-light: #93965b; $custom-dark: #000000;
JSON
{
"hex": "#646c15",
"rgb": {
"r": 100,
"g": 108,
"b": 21
},
"hsl": {
"h": 65.517,
"s": 67.442,
"l": 25.294
},
"oklch": {
"l": 0.50786,
"c": 0.10612,
"h": 114.9
},
"luminance": 0.13489
}Semantic roles & 50–950 ramp
primary
#646C15
secondary
#443AA3
accent
#3DEA4D
background
#F9F9F5
surface
#F2F1E9
border
#CCCBC5
text
#0D0D04
muted
#7E7E79