#7B7818#7B7818
#7B7818 is a mid, moderate yellow. Relative luminance 0.177; OKLCH L 55.8% C 0.111 H 107.6°. Best body text is #FFFFFF at 4.62:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7818 |
|---|---|
| RGB | rgb(123, 120, 24) |
| HSL | hsl(58, 67%, 29%) |
| HSV | hsv(58, 80%, 48%) |
| CMYK | cmyk(0%, 2.4%, 80.5%, 51.8%) |
| CIE-LAB | lab(49.14, -10.29, 48.79) |
| CIE-LCH | lch(49.14, 49.86, 101.91°) |
| OKLab | oklab(55.81% -0.0338 0.1062) |
| OKLCH | oklch(55.81% 0.111 107.6) |
| XYZ | xyz(15.0503, 17.7104, 3.4896) |
| Luminance | 0.1771 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.52
Olive
#808000
ΔE00 3.68
Ugly Brown
#7D7103
ΔE00 3.76
Brown Green
#706C11
ΔE00 4.58
Poop Green
#6F7C00
ΔE00 4.59
Browny Green
#6F6C0A
ΔE00 4.61
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7818 #181B7B
analogous
#7B4718 #7B7818 #4D7B18
triadic
#7B7818 #187B78 #78187B
tetradic
#7B7818 #187B47 #181B7B #7B184D
square
#7B7818 #187B47 #181B7B #7B184D
split-complementary
#7B7818 #184D7B #47187B
monochromatic
#1A1905 #48460E #7B7818 #AEAA22 #D8D336
Accessibility & contrast
On white
4.62
#7B7818 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.54
#7B7818 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7B7818
4.62:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7818 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B7818 | 1.00 | 4.62 | 4.54 | 4.62 |
| #FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.54 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.62 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837300
Deuteranopia (green-blind)
#847620
Tritanopia (blue-blind)
#847066
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7b7818; /* rgb */ color: rgb(123, 120, 24); /* oklch */ color: oklch(55.8% 0.111 107.6);
Tailwind
colors: {
custom: {
50: '#a49e5e',
500: '#7b7818',
950: '#000000',
},
}SCSS
$custom: #7b7818; $custom-light: #a49e5e; $custom-dark: #000000;
JSON
{
"hex": "#7b7818",
"rgb": {
"r": 123,
"g": 120,
"b": 24
},
"hsl": {
"h": 58.182,
"s": 67.347,
"l": 28.824
},
"oklch": {
"l": 0.55805,
"c": 0.11148,
"h": 107.6
},
"luminance": 0.1771
}Semantic roles & 50–950 ramp
primary
#7B7818
secondary
#3F43B0
accent
#43EA3E
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79