#7B7516#7B7516
#7B7516 is a mid, moderate yellow. Relative luminance 0.170; OKLCH L 55.1% C 0.110 H 105.6°. Best body text is #FFFFFF at 4.77:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7516 |
|---|---|
| RGB | rgb(123, 117, 22) |
| HSL | hsl(56, 70%, 28%) |
| HSV | hsv(56, 82%, 48%) |
| CMYK | cmyk(0%, 4.9%, 82.1%, 51.8%) |
| CIE-LAB | lab(48.25, -8.70, 48.64) |
| CIE-LCH | lch(48.25, 49.41, 100.15°) |
| OKLab | oklab(55.09% -0.0295 0.1055) |
| OKLCH | oklch(55.09% 0.11 105.6) |
| XYZ | xyz(14.6751, 16.9920, 3.2657) |
| Luminance | 0.1699 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.56
Brown Green
#706C11
ΔE00 3.68
Browny Green
#6F6C0A
ΔE00 3.78
Olive (survey)
#6E750E
ΔE00 4.03
Brownish Green
#6A6E09
ΔE00 4.59
Olive
#808000
ΔE00 4.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7516 #161C7B
analogous
#7B4216 #7B7516 #4E7B16
triadic
#7B7516 #167B75 #75167B
tetradic
#7B7516 #167B42 #161C7B #7B164E
square
#7B7516 #167B42 #161C7B #7B164E
split-complementary
#7B7516 #164E7B #42167B
monochromatic
#1A1905 #47440D #7B7516 #AFA61F #DAD031
Accessibility & contrast
On white
4.77
#7B7516 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.40
#7B7516 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B7516
4.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7516 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B7516 | 1.00 | 4.77 | 4.40 | 4.77 |
| #FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.40 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.77 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807000
Deuteranopia (green-blind)
#82741E
Tritanopia (blue-blind)
#856C64
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7b7516; /* rgb */ color: rgb(123, 117, 22); /* oklch */ color: oklch(55.1% 0.110 105.6);
Tailwind
colors: {
custom: {
50: '#a59c5d',
500: '#7b7516',
950: '#000000',
},
}SCSS
$custom: #7b7516; $custom-light: #a59c5d; $custom-dark: #000000;
JSON
{
"hex": "#7b7516",
"rgb": {
"r": 123,
"g": 117,
"b": 22
},
"hsl": {
"h": 56.436,
"s": 69.655,
"l": 28.431
},
"oklch": {
"l": 0.5509,
"c": 0.10957,
"h": 105.6
},
"luminance": 0.16991
}Semantic roles & 50–950 ramp
primary
#7B7516
secondary
#3D44B0
accent
#46EC3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79