#7B794F#7B794F
#7B794F is a mid, muted yellow. Relative luminance 0.184; OKLCH L 56.7% C 0.060 H 105.8°. Best body text is #000000 at 4.69:1 contrast (WCAG AA passes).
Color values
| HEX | #7B794F |
|---|---|
| RGB | rgb(123, 121, 79) |
| HSL | hsl(57, 22%, 40%) |
| HSV | hsv(57, 36%, 48%) |
| CMYK | cmyk(0%, 1.6%, 35.8%, 51.8%) |
| CIE-LAB | lab(50.04, -6.19, 23.35) |
| CIE-LCH | lch(50.04, 24.15, 104.85°) |
| OKLab | oklab(56.71% -0.0164 0.0577) |
| OKLCH | oklch(56.71% 0.06 105.8) |
| XYZ | xyz(16.4172, 18.4505, 10.0921) |
| Luminance | 0.1845 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 5.82
Olive Drab
#6F7632
ΔE00 6.64
Brown Grey
#8D8468
ΔE00 7.59
Grey Brown
#7F7053
ΔE00 7.97
Muddy Green
#657432
ΔE00 8.04
Military Green
#667C3E
ΔE00 8.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B794F #4F517B
analogous
#7B634F #7B794F #677B4F
triadic
#7B794F #4F7B79 #794F7B
tetradic
#7B794F #4F7B63 #4F517B #7B4F67
square
#7B794F #4F7B63 #4F517B #7B4F67
split-complementary
#7B794F #4F677B #634F7B
monochromatic
#30301F #565437 #7B794F #9E9C69 #B6B58E
Accessibility & contrast
On white
4.48
#7B794F on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.69
#7B794F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B794F
4.69:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B794F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B794F | 1.00 | 4.48 | 4.69 | 4.69 |
| #FFFFFF | 4.48 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.69 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.69 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#80764C
Deuteranopia (green-blind)
#817851
Tritanopia (blue-blind)
#81746E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7b794f; /* rgb */ color: rgb(123, 121, 79); /* oklch */ color: oklch(56.7% 0.060 105.8);
Tailwind
colors: {
custom: {
50: '#a29f81',
500: '#7b794f',
950: '#000000',
},
}SCSS
$custom: #7b794f; $custom-light: #a29f81; $custom-dark: #000000;
JSON
{
"hex": "#7b794f",
"rgb": {
"r": 123,
"g": 121,
"b": 79
},
"hsl": {
"h": 57.273,
"s": 21.782,
"l": 39.608
},
"oklch": {
"l": 0.56712,
"c": 0.05996,
"h": 105.8
},
"luminance": 0.1845
}Semantic roles & 50–950 ramp
primary
#7B794F
secondary
#8284A3
accent
#6DBE69
background
#FAF9F7
surface
#F3F2EE
border
#CDCCC9
text
#0F0E0A
muted
#7F7E7C