#7B7614#7B7614
#7B7614 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.3% C 0.112 H 106.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7614 |
|---|---|
| RGB | rgb(123, 118, 20) |
| HSL | hsl(57, 72%, 28%) |
| HSV | hsv(57, 84%, 48%) |
| CMYK | cmyk(0%, 4.1%, 83.7%, 51.8%) |
| CIE-LAB | lab(48.53, -9.33, 49.50) |
| CIE-LCH | lch(48.53, 50.37, 100.68°) |
| OKLab | oklab(55.31% -0.0315 0.107) |
| OKLCH | oklch(55.31% 0.112 106.4) |
| XYZ | xyz(14.7737, 17.2189, 3.2071) |
| Luminance | 0.1722 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.85
Olive (survey)
#6E750E
ΔE00 3.82
Brown Green
#706C11
ΔE00 3.99
Browny Green
#6F6C0A
ΔE00 4.03
Olive
#808000
ΔE00 4.22
Brownish Green
#6A6E09
ΔE00 4.64
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7614 #14197B
analogous
#7B4214 #7B7614 #4D7B14
triadic
#7B7614 #147B76 #76147B
tetradic
#7B7614 #147B42 #14197B #7B144D
square
#7B7614 #147B42 #14197B #7B144D
split-complementary
#7B7614 #144D7B #42147B
monochromatic
#1A1904 #46430B #7B7614 #B0A81D #DDD42D
Accessibility & contrast
On white
4.73
#7B7614 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#7B7614 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B7614
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7614 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B7614 | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817100
Deuteranopia (green-blind)
#83751D
Tritanopia (blue-blind)
#856D64
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7b7614; /* rgb */ color: rgb(123, 118, 20); /* oklch */ color: oklch(55.3% 0.112 106.4);
Tailwind
colors: {
custom: {
50: '#a59d5c',
500: '#7b7614',
950: '#000000',
},
}SCSS
$custom: #7b7614; $custom-light: #a59d5c; $custom-dark: #000000;
JSON
{
"hex": "#7b7614",
"rgb": {
"r": 123,
"g": 118,
"b": 20
},
"hsl": {
"h": 57.087,
"s": 72.028,
"l": 28.039
},
"oklch": {
"l": 0.55314,
"c": 0.1115,
"h": 106.4
},
"luminance": 0.17218
}Semantic roles & 50–950 ramp
primary
#7B7614
secondary
#3A40B1
accent
#42EF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79