#7A7152#7A7152
#7A7152 is a mid, muted yellow. Relative luminance 0.166; OKLCH L 54.9% C 0.047 H 93.8°. Best body text is #FFFFFF at 4.87:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7152 |
|---|---|
| RGB | rgb(122, 113, 82) |
| HSL | hsl(47, 20%, 40%) |
| HSV | hsv(47, 33%, 48%) |
| CMYK | cmyk(0%, 7.4%, 32.8%, 52.2%) |
| CIE-LAB | lab(47.70, -1.66, 18.51) |
| CIE-LCH | lch(47.70, 18.58, 95.11°) |
| OKLab | oklab(54.86% -0.0031 0.0464) |
| OKLCH | oklch(54.86% 0.047 93.8) |
| XYZ | xyz(15.4543, 16.5574, 10.3628) |
| Luminance | 0.1656 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 3.28
Greyish Brown
#7A6A4F
ΔE00 4.70
Brownish Grey
#86775F
ΔE00 5.50
Dull Brown
#876E4B
ΔE00 7.08
Brown Grey
#8D8468
ΔE00 7.59
Dirt
#8A6E45
ΔE00 7.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7152 #525B7A
analogous
#7A5D52 #7A7152 #6F7A52
triadic
#7A7152 #527A71 #71527A
tetradic
#7A7152 #527A5D #525B7A #7A526F
square
#7A7152 #527A5D #525B7A #7A526F
split-complementary
#7A7152 #526F7A #5D527A
monochromatic
#312D21 #554F39 #7A7152 #9D926D #B5AD91
Accessibility & contrast
On white
4.87
#7A7152 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.31
#7A7152 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A7152
4.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7152 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A7152 | 1.00 | 4.87 | 4.31 | 4.87 |
| #FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.31 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.87 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#787050
Deuteranopia (green-blind)
#7A7253
Tritanopia (blue-blind)
#806C69
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7a7152; /* rgb */ color: rgb(122, 113, 82); /* oklch */ color: oklch(54.9% 0.047 93.8);
Tailwind
colors: {
custom: {
50: '#a19983',
500: '#7a7152',
950: '#000000',
},
}SCSS
$custom: #7a7152; $custom-light: #a19983; $custom-dark: #000000;
JSON
{
"hex": "#7a7152",
"rgb": {
"r": 122,
"g": 113,
"b": 82
},
"hsl": {
"h": 46.5,
"s": 19.608,
"l": 40
},
"oklch": {
"l": 0.54856,
"c": 0.04651,
"h": 93.8
},
"luminance": 0.16557
}Semantic roles & 50–950 ramp
primary
#7A7152
secondary
#858CA3
accent
#7EBC6C
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0F0E0A
muted
#7E7E7C