#7B792A#7B792A
#7B792A is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.100 H 107.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7B792A |
|---|---|
| RGB | rgb(123, 121, 42) |
| HSL | hsl(59, 49%, 32%) |
| HSV | hsv(59, 66%, 48%) |
| CMYK | cmyk(0%, 1.6%, 65.9%, 51.8%) |
| CIE-LAB | lab(49.56, -9.86, 42.08) |
| CIE-LCH | lch(49.56, 43.22, 103.19°) |
| OKLab | oklab(56.18% -0.0307 0.0954) |
| OKLCH | oklch(56.18% 0.1 107.8) |
| XYZ | xyz(15.4242, 18.0533, 4.8622) |
| Luminance | 0.1805 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 4.09
Olive (survey)
#6E750E
ΔE00 4.16
Drab
#828344
ΔE00 5.03
Olive
#808000
ΔE00 5.10
Murky Green
#6C7A0E
ΔE00 5.13
Brown Green
#706C11
ΔE00 5.22
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B792A #2A2C7B
analogous
#7B512A #7B792A #547B2A
triadic
#7B792A #2A7B79 #792A7B
tetradic
#7B792A #2A7B51 #2A2C7B #7B2A54
square
#7B792A #2A7B51 #2A2C7B #7B2A54
split-complementary
#7B792A #2A547B #512A7B
monochromatic
#201F0B #4D4C1A #7B792A #A9A63A #C6C459
Accessibility & contrast
On white
4.55
#7B792A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#7B792A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B792A
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B792A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B792A | 1.00 | 4.55 | 4.61 | 4.61 |
| #FFFFFF | 4.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837420
Deuteranopia (green-blind)
#84772F
Tritanopia (blue-blind)
#847169
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7b792a; /* rgb */ color: rgb(123, 121, 42); /* oklch */ color: oklch(56.2% 0.100 107.8);
Tailwind
colors: {
custom: {
50: '#a49f68',
500: '#7b792a',
950: '#000000',
},
}SCSS
$custom: #7b792a; $custom-light: #a49f68; $custom-dark: #000000;
JSON
{
"hex": "#7b792a",
"rgb": {
"r": 123,
"g": 121,
"b": 42
},
"hsl": {
"h": 58.519,
"s": 49.091,
"l": 32.353
},
"oklch": {
"l": 0.56178,
"c": 0.10023,
"h": 107.8
},
"luminance": 0.18053
}Semantic roles & 50–950 ramp
primary
#7B792A
secondary
#5557AC
accent
#53D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A