#7B791A#7B791A
#7B791A is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.111 H 108.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7B791A |
|---|---|
| RGB | rgb(123, 121, 26) |
| HSL | hsl(59, 65%, 29%) |
| HSV | hsv(59, 79%, 48%) |
| CMYK | cmyk(0%, 1.6%, 78.9%, 51.8%) |
| CIE-LAB | lab(49.45, -10.75, 48.39) |
| CIE-LCH | lch(49.45, 49.57, 102.53°) |
| OKLab | oklab(56.05% -0.0349 0.1058) |
| OKLCH | oklch(56.05% 0.111 108.3) |
| XYZ | xyz(15.1928, 17.9608, 3.6436) |
| Luminance | 0.1796 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.46
Olive
#808000
ΔE00 3.48
Ugly Brown
#7D7103
ΔE00 4.23
Shit Green
#758000
ΔE00 4.30
Poop Green
#6F7C00
ΔE00 4.31
Murky Green
#6C7A0E
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B791A #1A1C7B
analogous
#7B491A #7B791A #4D7B1A
triadic
#7B791A #1A7B79 #791A7B
tetradic
#7B791A #1A7B49 #1A1C7B #7B1A4D
square
#7B791A #1A7B49 #1A1C7B #7B1A4D
split-complementary
#7B791A #1A4D7B #491A7B
monochromatic
#191905 #48470F #7B791A #AEAB25 #D5D23A
Accessibility & contrast
On white
4.57
#7B791A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#7B791A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B791A
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B791A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B791A | 1.00 | 4.57 | 4.59 | 4.59 |
| #FFFFFF | 4.57 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#847403
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#847167
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7b791a; /* rgb */ color: rgb(123, 121, 26); /* oklch */ color: oklch(56.1% 0.111 108.3);
Tailwind
colors: {
custom: {
50: '#a49f5f',
500: '#7b791a',
950: '#000000',
},
}SCSS
$custom: #7b791a; $custom-light: #a49f5f; $custom-dark: #000000;
JSON
{
"hex": "#7b791a",
"rgb": {
"r": 123,
"g": 121,
"b": 26
},
"hsl": {
"h": 58.763,
"s": 65.101,
"l": 29.216
},
"oklch": {
"l": 0.56053,
"c": 0.11141,
"h": 108.3
},
"luminance": 0.1796
}Semantic roles & 50–950 ramp
primary
#7B791A
secondary
#4244AF
accent
#43E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79