#7B794B#7B794B
#7B794B is a mid, moderate yellow. Relative luminance 0.184; OKLCH L 56.6% C 0.065 H 106.2°. Best body text is #000000 at 4.68:1 contrast (WCAG AA passes).
Color values
| HEX | #7B794B |
|---|---|
| RGB | rgb(123, 121, 75) |
| HSL | hsl(58, 24%, 39%) |
| HSV | hsv(58, 39%, 48%) |
| CMYK | cmyk(0%, 1.6%, 39%, 51.8%) |
| CIE-LAB | lab(49.97, -6.70, 25.51) |
| CIE-LCH | lch(49.97, 26.38, 104.72°) |
| OKLab | oklab(56.64% -0.0181 0.0625) |
| OKLCH | oklch(56.64% 0.065 106.2) |
| XYZ | xyz(16.2760, 18.3941, 9.3483) |
| Luminance | 0.1839 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 5.06
Olive Drab
#6F7632
ΔE00 5.75
Muddy Green
#657432
ΔE00 7.39
Military Green
#667C3E
ΔE00 7.73
Brown Grey
#8D8468
ΔE00 8.23
Grey Brown
#7F7053
ΔE00 8.41
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B794B #4B4D7B
analogous
#7B614B #7B794B #657B4B
triadic
#7B794B #4B7B79 #794B7B
tetradic
#7B794B #4B7B61 #4B4D7B #7B4B65
square
#7B794B #4B7B61 #4B4D7B #7B4B65
split-complementary
#7B794B #4B657B #614B7B
monochromatic
#2F2E1D #555434 #7B794B #A09D63 #B7B589
Accessibility & contrast
On white
4.49
#7B794B on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.68
#7B794B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B794B
4.68:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B794B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B794B | 1.00 | 4.49 | 4.68 | 4.68 |
| #FFFFFF | 4.49 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.68 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.68 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807648
Deuteranopia (green-blind)
#81784D
Tritanopia (blue-blind)
#82736E
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7b794b; /* rgb */ color: rgb(123, 121, 75); /* oklch */ color: oklch(56.6% 0.065 106.2);
Tailwind
colors: {
custom: {
50: '#a29f7e',
500: '#7b794b',
950: '#000000',
},
}SCSS
$custom: #7b794b; $custom-light: #a29f7e; $custom-dark: #000000;
JSON
{
"hex": "#7b794b",
"rgb": {
"r": 123,
"g": 121,
"b": 75
},
"hsl": {
"h": 57.5,
"s": 24.242,
"l": 38.824
},
"oklch": {
"l": 0.56637,
"c": 0.06508,
"h": 106.2
},
"luminance": 0.18394
}Semantic roles & 50–950 ramp
primary
#7B794B
secondary
#7E80A4
accent
#6BC167
background
#FAF9F7
surface
#F3F2EE
border
#CDCCC9
text
#0F0E0A
muted
#7F7E7C