#7B7815#7B7815
#7B7815 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.113 H 107.7°. Best body text is #FFFFFF at 4.63:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7815 |
|---|---|
| RGB | rgb(123, 120, 21) |
| HSL | hsl(58, 71%, 28%) |
| HSV | hsv(58, 83%, 48%) |
| CMYK | cmyk(0%, 2.4%, 82.9%, 51.8%) |
| CIE-LAB | lab(49.13, -10.40, 49.72) |
| CIE-LCH | lch(49.13, 50.79, 101.81°) |
| OKLab | oklab(55.79% -0.0344 0.1076) |
| OKLCH | oklch(55.79% 0.113 107.7) |
| XYZ | xyz(15.0208, 17.6986, 3.3343) |
| Luminance | 0.1770 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.52
Olive (survey)
#6E750E
ΔE00 3.53
Ugly Brown
#7D7103
ΔE00 3.67
Poop Green
#6F7C00
ΔE00 4.53
Shit Green
#758000
ΔE00 4.55
Browny Green
#6F6C0A
ΔE00 4.62
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7815 #15187B
analogous
#7B4515 #7B7815 #4B7B15
triadic
#7B7815 #157B78 #78157B
tetradic
#7B7815 #157B45 #15187B #7B154B
square
#7B7815 #157B45 #15187B #7B154B
split-complementary
#7B7815 #154B7B #45157B
monochromatic
#1A1904 #47450C #7B7815 #AFAB1E #DBD62F
Accessibility & contrast
On white
4.63
#7B7815 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#7B7815 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7B7815
4.63:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7815 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B7815 | 1.00 | 4.63 | 4.54 | 4.63 |
| #FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.63 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#85761E
Tritanopia (blue-blind)
#856F66
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7b7815; /* rgb */ color: rgb(123, 120, 21); /* oklch */ color: oklch(55.8% 0.113 107.7);
Tailwind
colors: {
custom: {
50: '#a59e5d',
500: '#7b7815',
950: '#000000',
},
}SCSS
$custom: #7b7815; $custom-light: #a59e5d; $custom-dark: #000000;
JSON
{
"hex": "#7b7815",
"rgb": {
"r": 123,
"g": 120,
"b": 21
},
"hsl": {
"h": 58.235,
"s": 70.833,
"l": 28.235
},
"oklch": {
"l": 0.55789,
"c": 0.11299,
"h": 107.7
},
"luminance": 0.17698
}Semantic roles & 50–950 ramp
primary
#7B7815
secondary
#3B3FB0
accent
#3FEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79