#7B7918#7B7918
#7B7918 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.0% C 0.112 H 108.3°. Best body text is #000000 at 4.59:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7918 |
|---|---|
| RGB | rgb(123, 121, 24) |
| HSL | hsl(59, 67%, 29%) |
| HSV | hsv(59, 80%, 48%) |
| CMYK | cmyk(0%, 1.6%, 80.5%, 51.8%) |
| CIE-LAB | lab(49.44, -10.84, 49.05) |
| CIE-LCH | lch(49.44, 50.23, 102.46°) |
| OKLab | oklab(56.04% -0.0353 0.1068) |
| OKLCH | oklch(56.04% 0.112 108.3) |
| XYZ | xyz(15.1712, 17.9522, 3.5299) |
| Luminance | 0.1795 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.35
Olive (survey)
#6E750E
ΔE00 3.46
Ugly Brown
#7D7103
ΔE00 4.16
Shit Green
#758000
ΔE00 4.23
Poop Green
#6F7C00
ΔE00 4.26
Murky Green
#6C7A0E
ΔE00 4.57
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7918 #181A7B
analogous
#7B4818 #7B7918 #4C7B18
triadic
#7B7918 #187B79 #79187B
tetradic
#7B7918 #187B48 #181A7B #7B184C
square
#7B7918 #187B48 #181A7B #7B184C
split-complementary
#7B7918 #184C7B #48187B
monochromatic
#1A1905 #48470E #7B7918 #AEAB22 #D8D436
Accessibility & contrast
On white
4.57
#7B7918 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.59
#7B7918 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7B7918
4.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7918 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7B7918 | 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)
#847400
Deuteranopia (green-blind)
#857720
Tritanopia (blue-blind)
#847167
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7b7918; /* rgb */ color: rgb(123, 121, 24); /* oklch */ color: oklch(56.0% 0.112 108.3);
Tailwind
colors: {
custom: {
50: '#a49f5e',
500: '#7b7918',
950: '#000000',
},
}SCSS
$custom: #7b7918; $custom-light: #a49f5e; $custom-dark: #000000;
JSON
{
"hex": "#7b7918",
"rgb": {
"r": 123,
"g": 121,
"b": 24
},
"hsl": {
"h": 58.788,
"s": 67.347,
"l": 28.824
},
"oklch": {
"l": 0.56041,
"c": 0.11249,
"h": 108.3
},
"luminance": 0.17952
}Semantic roles & 50–950 ramp
primary
#7B7918
secondary
#3F41B0
accent
#41EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79