#7C7252#7C7252
#7C7252 is a mid, muted yellow. Relative luminance 0.169; OKLCH L 55.3% C 0.048 H 92.8°. Best body text is #FFFFFF at 4.79:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7252 |
|---|---|
| RGB | rgb(124, 114, 82) |
| HSL | hsl(46, 20%, 40%) |
| HSV | hsv(46, 34%, 49%) |
| CMYK | cmyk(0%, 8.1%, 33.9%, 51.4%) |
| CIE-LAB | lab(48.17, -1.37, 19.18) |
| CIE-LCH | lch(48.17, 19.23, 94.09°) |
| OKLab | oklab(55.28% -0.0023 0.048) |
| OKLCH | oklch(55.28% 0.048 92.8) |
| XYZ | xyz(15.8527, 16.9294, 10.4136) |
| Luminance | 0.1693 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 2.97
Greyish Brown
#7A6A4F
ΔE00 4.68
Brownish Grey
#86775F
ΔE00 5.12
Dull Brown
#876E4B
ΔE00 6.63
Brown Grey
#8D8468
ΔE00 7.18
Dirt
#8A6E45
ΔE00 7.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7252 #525C7C
analogous
#7C5D52 #7C7252 #717C52
triadic
#7C7252 #527C72 #72527C
tetradic
#7C7252 #527C5D #525C7C #7C5271
square
#7C7252 #527C5D #525C7C #7C5271
split-complementary
#7C7252 #52717C #5D527C
monochromatic
#322E21 #57503A #7C7252 #9E936D #B7AE92
Accessibility & contrast
On white
4.79
#7C7252 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.39
#7C7252 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C7252
4.79:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7252 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C7252 | 1.00 | 4.79 | 4.39 | 4.79 |
| #FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.39 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.79 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#797150
Deuteranopia (green-blind)
#7B7453
Tritanopia (blue-blind)
#826D6A
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7c7252; /* rgb */ color: rgb(124, 114, 82); /* oklch */ color: oklch(55.3% 0.048 92.8);
Tailwind
colors: {
custom: {
50: '#a29a83',
500: '#7c7252',
950: '#000000',
},
}SCSS
$custom: #7c7252; $custom-light: #a29a83; $custom-dark: #000000;
JSON
{
"hex": "#7c7252",
"rgb": {
"r": 124,
"g": 114,
"b": 82
},
"hsl": {
"h": 45.714,
"s": 20.388,
"l": 40.392
},
"oklch": {
"l": 0.55275,
"c": 0.04805,
"h": 92.8
},
"luminance": 0.16929
}Semantic roles & 50–950 ramp
primary
#7C7252
secondary
#868DA4
accent
#7EBD6B
background
#FAF9F8
surface
#F3F2EF
border
#CDCCCA
text
#0F0E0A
muted
#7F7E7C