#7B7418#7B7418
#7B7418 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.9% C 0.108 H 104.9°. Best body text is #FFFFFF at 4.82:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7418 |
|---|---|
| RGB | rgb(123, 116, 24) |
| HSL | hsl(56, 67%, 29%) |
| HSV | hsv(56, 80%, 48%) |
| CMYK | cmyk(0%, 5.7%, 80.5%, 51.8%) |
| CIE-LAB | lab(47.97, -8.07, 47.73) |
| CIE-LCH | lch(47.97, 48.40, 99.59°) |
| OKLab | oklab(54.87% -0.0276 0.104) |
| OKLCH | oklch(54.87% 0.108 104.9) |
| XYZ | xyz(14.5793, 16.7683, 3.3326) |
| Luminance | 0.1677 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.35
Brown Green
#706C11
ΔE00 3.42
Browny Green
#6F6C0A
ΔE00 3.59
Olive (survey)
#6E750E
ΔE00 4.29
Brownish Green
#6A6E09
ΔE00 4.60
Olive
#808000
ΔE00 5.20
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7418 #181F7B
analogous
#7B4318 #7B7418 #517B18
triadic
#7B7418 #187B74 #74187B
tetradic
#7B7418 #187B43 #181F7B #7B1851
square
#7B7418 #187B43 #181F7B #7B1851
split-complementary
#7B7418 #18517B #43187B
monochromatic
#1A1805 #48440E #7B7418 #AEA422 #D8CC36
Accessibility & contrast
On white
4.82
#7B7418 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.35
#7B7418 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B7418
4.82:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7418 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B7418 | 1.00 | 4.82 | 4.35 | 4.82 |
| #FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.35 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.82 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7001
Deuteranopia (green-blind)
#81741F
Tritanopia (blue-blind)
#856B63
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7b7418; /* rgb */ color: rgb(123, 116, 24); /* oklch */ color: oklch(54.9% 0.108 104.9);
Tailwind
colors: {
custom: {
50: '#a59b5e',
500: '#7b7418',
950: '#000000',
},
}SCSS
$custom: #7b7418; $custom-light: #a59b5e; $custom-dark: #000000;
JSON
{
"hex": "#7b7418",
"rgb": {
"r": 123,
"g": 116,
"b": 24
},
"hsl": {
"h": 55.758,
"s": 67.347,
"l": 28.824
},
"oklch": {
"l": 0.54868,
"c": 0.10757,
"h": 104.9
},
"luminance": 0.16768
}Semantic roles & 50–950 ramp
primary
#7B7418
secondary
#3F47B0
accent
#4AEA3E
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79