#7B791F#7B791F
#7B791F is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.108 H 108.1°. Best body text is #000000 at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7B791F |
|---|---|
| RGB | rgb(123, 121, 31) |
| HSL | hsl(59, 60%, 30%) |
| HSV | hsv(59, 75%, 48%) |
| CMYK | cmyk(0%, 1.6%, 74.8%, 51.8%) |
| CIE-LAB | lab(49.48, -10.52, 46.61) |
| CIE-LCH | lch(49.48, 47.78, 102.72°) |
| OKLab | oklab(56.09% -0.0338 0.103) |
| OKLCH | oklch(56.09% 0.108 108.1) |
| XYZ | xyz(15.2536, 17.9851, 3.9640) |
| Luminance | 0.1799 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.54
Olive
#808000
ΔE00 3.88
Ugly Brown
#7D7103
ΔE00 4.46
Poop Green
#6F7C00
ΔE00 4.51
Shit Green
#758000
ΔE00 4.55
Murky Green
#6C7A0E
ΔE00 4.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B791F #1F217B
analogous
#7B4B1F #7B791F #4F7B1F
triadic
#7B791F #1F7B79 #791F7B
tetradic
#7B791F #1F7B4B #1F217B #7B1F4F
square
#7B791F #1F7B4B #1F217B #7B1F4F
split-complementary
#7B791F #1F4F7B #4B1F7B
monochromatic
#191906 #4A4913 #7B791F #ACA92B #D0CD44
Accessibility & contrast
On white
4.57
#7B791F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.60
#7B791F on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B791F
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B791F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B791F | 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)
#83740E
Deuteranopia (green-blind)
#857726
Tritanopia (blue-blind)
#847168
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7b791f; /* rgb */ color: rgb(123, 121, 31); /* oklch */ color: oklch(56.1% 0.108 108.1);
Tailwind
colors: {
custom: {
50: '#a49f62',
500: '#7b791f',
950: '#000000',
},
}SCSS
$custom: #7b791f; $custom-light: #a49f62; $custom-dark: #000000;
JSON
{
"hex": "#7b791f",
"rgb": {
"r": 123,
"g": 121,
"b": 31
},
"hsl": {
"h": 58.696,
"s": 59.74,
"l": 30.196
},
"oklch": {
"l": 0.56086,
"c": 0.10838,
"h": 108.1
},
"luminance": 0.17985
}Semantic roles & 50–950 ramp
primary
#7B791F
secondary
#484AAE
accent
#48E345
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A