#7A7252#7A7252
#7A7252 is a mid, muted yellow. Relative luminance 0.168; OKLCH L 55.1% C 0.048 H 95.8°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7252 |
|---|---|
| RGB | rgb(122, 114, 82) |
| HSL | hsl(48, 20%, 40%) |
| HSV | hsv(48, 33%, 48%) |
| CMYK | cmyk(0%, 6.6%, 32.8%, 52.2%) |
| CIE-LAB | lab(47.98, -2.23, 18.89) |
| CIE-LCH | lch(47.98, 19.02, 96.74°) |
| OKLab | oklab(55.08% -0.0048 0.0473) |
| OKLCH | oklch(55.08% 0.048 95.8) |
| XYZ | xyz(15.5665, 16.7818, 10.4002) |
| Luminance | 0.1678 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 3.89
Greyish Brown
#7A6A4F
ΔE00 5.40
Brownish Grey
#86775F
ΔE00 5.90
Brown Grey
#8D8468
ΔE00 7.39
Dull Brown
#876E4B
ΔE00 7.59
Dirt
#8A6E45
ΔE00 8.34
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7252 #525A7A
analogous
#7A5E52 #7A7252 #6E7A52
triadic
#7A7252 #527A72 #72527A
tetradic
#7A7252 #527A5E #525A7A #7A526E
square
#7A7252 #527A5E #525A7A #7A526E
split-complementary
#7A7252 #526E7A #5E527A
monochromatic
#312E21 #555039 #7A7252 #9D936D #B5AE91
Accessibility & contrast
On white
4.82
#7A7252 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.36
#7A7252 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A7252
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A7252 | 1.00 | 4.82 | 4.36 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.36 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#787050
Deuteranopia (green-blind)
#7B7353
Tritanopia (blue-blind)
#806D6A
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7a7252; /* rgb */ color: rgb(122, 114, 82); /* oklch */ color: oklch(55.1% 0.048 95.8);
Tailwind
colors: {
custom: {
50: '#a19a83',
500: '#7a7252',
950: '#000000',
},
}SCSS
$custom: #7a7252; $custom-light: #a19a83; $custom-dark: #000000;
JSON
{
"hex": "#7a7252",
"rgb": {
"r": 122,
"g": 114,
"b": 82
},
"hsl": {
"h": 48,
"s": 19.608,
"l": 40
},
"oklch": {
"l": 0.55082,
"c": 0.04756,
"h": 95.8
},
"luminance": 0.16781
}Semantic roles & 50–950 ramp
primary
#7A7252
secondary
#858BA3
accent
#7CBC6C
background
#F9F9F8
surface
#F2F2EF
border
#CCCCCA
text
#0F0E0A
muted
#7E7E7C