#7C7952#7C7952
#7C7952 is a mid, muted yellow. Relative luminance 0.186; OKLCH L 56.9% C 0.056 H 104.3°. Best body text is #000000 at 4.71:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7952 |
|---|---|
| RGB | rgb(124, 121, 82) |
| HSL | hsl(56, 20%, 40%) |
| HSV | hsv(56, 34%, 49%) |
| CMYK | cmyk(0%, 2.4%, 33.9%, 51.4%) |
| CIE-LAB | lab(50.18, -5.36, 21.85) |
| CIE-LCH | lch(50.18, 22.50, 103.79°) |
| OKLab | oklab(56.86% -0.0138 0.0543) |
| OKLCH | oklch(56.86% 0.056 104.3) |
| XYZ | xyz(16.6727, 18.5694, 10.6870) |
| Luminance | 0.1857 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 6.47
Brown Grey
#8D8468
ΔE00 6.86
Grey Brown
#7F7053
ΔE00 7.32
Olive Drab
#6F7632
ΔE00 7.52
Brownish Grey
#86775F
ΔE00 8.44
Muddy Green
#657432
ΔE00 8.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7952 #52557C
analogous
#7C6452 #7C7952 #6A7C52
triadic
#7C7952 #527C79 #79527C
tetradic
#7C7952 #527C64 #52557C #7C526A
square
#7C7952 #527C64 #52557C #7C526A
split-complementary
#7C7952 #526A7C #64527C
monochromatic
#323121 #57553A #7C7952 #9E9B6D #B7B492
Accessibility & contrast
On white
4.46
#7C7952 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.71
#7C7952 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7952
4.71:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7952 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7952 | 1.00 | 4.46 | 4.71 | 4.71 |
| #FFFFFF | 4.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.71 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.71 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80764F
Deuteranopia (green-blind)
#817854
Tritanopia (blue-blind)
#82746F
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7c7952; /* rgb */ color: rgb(124, 121, 82); /* oklch */ color: oklch(56.9% 0.056 104.3);
Tailwind
colors: {
custom: {
50: '#a29f83',
500: '#7c7952',
950: '#000000',
},
}SCSS
$custom: #7c7952; $custom-light: #a29f83; $custom-dark: #000000;
JSON
{
"hex": "#7c7952",
"rgb": {
"r": 124,
"g": 121,
"b": 82
},
"hsl": {
"h": 55.714,
"s": 20.388,
"l": 40.392
},
"oklch": {
"l": 0.56863,
"c": 0.05602,
"h": 104.3
},
"luminance": 0.18569
}Semantic roles & 50–950 ramp
primary
#7C7952
secondary
#8688A4
accent
#71BD6B
background
#FAF9F8
surface
#F3F2EF
border
#CDCCCA
text
#0F0E0A
muted
#7F7E7C