#7B6F17#7B6F17
#7B6F17 is a mid, moderate yellow. Relative luminance 0.156; OKLCH L 53.7% C 0.104 H 101.1°. Best body text is #FFFFFF at 5.09:1 contrast (WCAG AA passes).
Color values
| HEX | #7B6F17 |
|---|---|
| RGB | rgb(123, 111, 23) |
| HSL | hsl(53, 68%, 29%) |
| HSV | hsv(53, 81%, 48%) |
| CMYK | cmyk(0%, 9.8%, 81.3%, 51.8%) |
| CIE-LAB | lab(46.50, -5.29, 46.74) |
| CIE-LCH | lch(46.50, 47.04, 96.46°) |
| OKLab | oklab(53.7% -0.0199 0.1017) |
| OKLCH | oklch(53.7% 0.104 101.1) |
| XYZ | xyz(14.0082, 15.6424, 3.0919) |
| Luminance | 0.1564 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.91
Brown Green
#706C11
ΔE00 3.15
Browny Green
#6F6C0A
ΔE00 3.48
Brownish Green
#6A6E09
ΔE00 5.34
Hazel
#8E7618
ΔE00 5.41
Greenish Brown
#696112
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B6F17 #17237B
analogous
#7B3D17 #7B6F17 #557B17
triadic
#7B6F17 #177B6F #6F177B
tetradic
#7B6F17 #177B3D #17237B #7B1755
square
#7B6F17 #177B3D #17237B #7B1755
split-complementary
#7B6F17 #17557B #3D177B
monochromatic
#1A1705 #47400D #7B6F17 #AF9E21 #D9C533
Accessibility & contrast
On white
5.09
#7B6F17 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.13
#7B6F17 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B6F17
5.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B6F17 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B6F17 | 1.00 | 5.09 | 4.13 | 5.09 |
| #FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.13 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.09 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6C02
Deuteranopia (green-blind)
#7E701E
Tritanopia (blue-blind)
#85665F
Achromatopsia (no color)
#6E6E6E
Design tokens & code
CSS
--color: #7b6f17; /* rgb */ color: rgb(123, 111, 23); /* oklch */ color: oklch(53.7% 0.104 101.1);
Tailwind
colors: {
custom: {
50: '#a5985d',
500: '#7b6f17',
950: '#000000',
},
}SCSS
$custom: #7b6f17; $custom-light: #a5985d; $custom-dark: #000000;
JSON
{
"hex": "#7b6f17",
"rgb": {
"r": 123,
"g": 111,
"b": 23
},
"hsl": {
"h": 52.8,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.53701,
"c": 0.10359,
"h": 101.1
},
"luminance": 0.15642
}Semantic roles & 50–950 ramp
primary
#7B6F17
secondary
#3E4CB0
accent
#51EB3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D04
muted
#7F7E79