#7B791E#7B791E
#7B791E is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.109 H 108.2°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7B791E |
|---|---|
| RGB | rgb(123, 121, 30) |
| HSL | hsl(59, 61%, 30%) |
| HSV | hsv(59, 76%, 48%) |
| CMYK | cmyk(0%, 1.6%, 75.6%, 51.8%) |
| CIE-LAB | lab(49.47, -10.57, 46.98) |
| CIE-LCH | lch(49.47, 48.15, 102.68°) |
| OKLab | oklab(56.08% -0.034 0.1036) |
| OKLCH | oklch(56.08% 0.109 108.2) |
| XYZ | xyz(15.2407, 17.9799, 3.8957) |
| Luminance | 0.1798 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.51
Olive
#808000
ΔE00 3.79
Ugly Brown
#7D7103
ΔE00 4.41
Poop Green
#6F7C00
ΔE00 4.47
Shit Green
#758000
ΔE00 4.50
Murky Green
#6C7A0E
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B791E #1E207B
analogous
#7B4B1E #7B791E #4E7B1E
triadic
#7B791E #1E7B79 #791E7B
tetradic
#7B791E #1E7B4B #1E207B #7B1E4E
square
#7B791E #1E7B4B #1E207B #7B1E4E
split-complementary
#7B791E #1E4E7B #4B1E7B
monochromatic
#191806 #4A4912 #7B791E #ACA92A #D1CE42
Accessibility & contrast
On white
4.57
#7B791E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#7B791E on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B791E
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B791E | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B791E | 1.00 | 4.57 | 4.60 | 4.60 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.60 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.60 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#83740C
Deuteranopia (green-blind)
#857725
Tritanopia (blue-blind)
#847168
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7b791e; /* rgb */ color: rgb(123, 121, 30); /* oklch */ color: oklch(56.1% 0.109 108.2);
Tailwind
colors: {
custom: {
50: '#a49f61',
500: '#7b791e',
950: '#000000',
},
}SCSS
$custom: #7b791e; $custom-light: #a49f61; $custom-dark: #000000;
JSON
{
"hex": "#7b791e",
"rgb": {
"r": 123,
"g": 121,
"b": 30
},
"hsl": {
"h": 58.71,
"s": 60.784,
"l": 30
},
"oklch": {
"l": 0.56078,
"c": 0.10902,
"h": 108.2
},
"luminance": 0.17979
}Semantic roles & 50–950 ramp
primary
#7B791E
secondary
#4649AE
accent
#47E444
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A