#7B792B#7B792B
#7B792B is a mid, moderate yellow. Relative luminance 0.181; OKLCH L 56.2% C 0.099 H 107.8°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7B792B |
|---|---|
| RGB | rgb(123, 121, 43) |
| HSL | hsl(59, 48%, 33%) |
| HSV | hsv(59, 65%, 48%) |
| CMYK | cmyk(0%, 1.6%, 65%, 51.8%) |
| CIE-LAB | lab(49.57, -9.80, 41.63) |
| CIE-LCH | lch(49.57, 42.77, 103.24°) |
| OKLab | oklab(56.19% -0.0304 0.0946) |
| OKLCH | oklch(56.19% 0.099 107.8) |
| XYZ | xyz(15.4423, 18.0606, 4.9576) |
| Luminance | 0.1806 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive Drab
#6F7632
ΔE00 4.00
Olive (survey)
#6E750E
ΔE00 4.25
Drab
#828344
ΔE00 4.93
Murky Green
#6C7A0E
ΔE00 5.20
Olive
#808000
ΔE00 5.23
Brown Green
#706C11
ΔE00 5.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B792B #2B2D7B
analogous
#7B512B #7B792B #557B2B
triadic
#7B792B #2B7B79 #792B7B
tetradic
#7B792B #2B7B51 #2B2D7B #7B2B55
square
#7B792B #2B7B51 #2B2D7B #7B2B55
split-complementary
#7B792B #2B557B #512B7B
monochromatic
#20200B #4E4C1B #7B792B #A8A63B #C6C35B
Accessibility & contrast
On white
4.55
#7B792B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#7B792B on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B792B
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B792B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B792B | 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)
#837421
Deuteranopia (green-blind)
#847730
Tritanopia (blue-blind)
#847169
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7b792b; /* rgb */ color: rgb(123, 121, 43); /* oklch */ color: oklch(56.2% 0.099 107.8);
Tailwind
colors: {
custom: {
50: '#a49f68',
500: '#7b792b',
950: '#000000',
},
}SCSS
$custom: #7b792b; $custom-light: #a49f68; $custom-dark: #000000;
JSON
{
"hex": "#7b792b",
"rgb": {
"r": 123,
"g": 121,
"b": 43
},
"hsl": {
"h": 58.5,
"s": 48.193,
"l": 32.549
},
"oklch": {
"l": 0.56188,
"c": 0.09939,
"h": 107.8
},
"luminance": 0.1806
}Semantic roles & 50–950 ramp
primary
#7B792B
secondary
#5658AB
accent
#53D850
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0E06
muted
#7F7E7A