#7B792E#7B792E
#7B792E is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.097 H 107.7°. Best body text is #000000 at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7B792E |
|---|---|
| RGB | rgb(123, 121, 46) |
| HSL | hsl(58, 46%, 33%) |
| HSV | hsv(58, 63%, 48%) |
| CMYK | cmyk(0%, 1.6%, 62.6%, 51.8%) |
| CIE-LAB | lab(49.60, -9.58, 40.27) |
| CIE-LCH | lch(49.60, 41.39, 103.38°) |
| OKLab | oklab(56.22% -0.0294 0.0922) |
| OKLCH | oklch(56.22% 0.097 107.7) |
| XYZ | xyz(15.4994, 18.0834, 5.2582) |
| Luminance | 0.1808 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 3.77
Olive (survey)
#6E750E
ΔE00 4.56
Drab
#828344
ΔE00 4.63
Murky Green
#6C7A0E
ΔE00 5.46
Brown Green
#706C11
ΔE00 5.47
Olive
#808000
ΔE00 5.65
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B792E #2E307B
analogous
#7B522E #7B792E #567B2E
triadic
#7B792E #2E7B79 #792E7B
tetradic
#7B792E #2E7B52 #2E307B #7B2E56
square
#7B792E #2E7B52 #2E307B #7B2E56
split-complementary
#7B792E #2E567B #522E7B
monochromatic
#22210D #4E4D1D #7B792E #A8A53F #C3C160
Accessibility & contrast
On white
4.55
#7B792E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.62
#7B792E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B792E
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B792E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B792E | 1.00 | 4.55 | 4.62 | 4.62 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.62 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.62 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837425
Deuteranopia (green-blind)
#847732
Tritanopia (blue-blind)
#847169
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7b792e; /* rgb */ color: rgb(123, 121, 46); /* oklch */ color: oklch(56.2% 0.097 107.7);
Tailwind
colors: {
custom: {
50: '#a39f6a',
500: '#7b792e',
950: '#000000',
},
}SCSS
$custom: #7b792e; $custom-light: #a39f6a; $custom-dark: #000000;
JSON
{
"hex": "#7b792e",
"rgb": {
"r": 123,
"g": 121,
"b": 46
},
"hsl": {
"h": 58.442,
"s": 45.562,
"l": 33.137
},
"oklch": {
"l": 0.56219,
"c": 0.09678,
"h": 107.7
},
"luminance": 0.18083
}Semantic roles & 50–950 ramp
primary
#7B792E
secondary
#5B5DAA
accent
#56D553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E07
muted
#7F7E7A