#7B7717#7B7717
#7B7717 is a mid, moderate yellow. Relative luminance 0.175; OKLCH L 55.6% C 0.111 H 107.0°. Best body text is #FFFFFF at 4.67:1 contrast (WCAG AA passes).
Color values
| HEX | #7B7717 |
|---|---|
| RGB | rgb(123, 119, 23) |
| HSL | hsl(58, 68%, 29%) |
| HSV | hsv(58, 81%, 48%) |
| CMYK | cmyk(0%, 3.3%, 81.3%, 51.8%) |
| CIE-LAB | lab(48.84, -9.77, 48.84) |
| CIE-LCH | lch(48.84, 49.81, 101.31°) |
| OKLab | oklab(55.57% -0.0324 0.1062) |
| OKLCH | oklch(55.57% 0.111 107) |
| XYZ | xyz(14.9205, 17.4670, 3.3960) |
| Luminance | 0.1747 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.34
Olive (survey)
#6E750E
ΔE00 3.64
Olive
#808000
ΔE00 3.98
Brown Green
#706C11
ΔE00 4.26
Browny Green
#6F6C0A
ΔE00 4.30
Brownish Green
#6A6E09
ΔE00 4.72
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7B7717 #171B7B
analogous
#7B4517 #7B7717 #4D7B17
triadic
#7B7717 #177B77 #77177B
tetradic
#7B7717 #177B45 #171B7B #7B174D
square
#7B7717 #177B45 #171B7B #7B174D
split-complementary
#7B7717 #174D7B #45177B
monochromatic
#1A1905 #47450D #7B7717 #AFA921 #D9D233
Accessibility & contrast
On white
4.67
#7B7717 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.49
#7B7717 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7B7717
4.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7B7717 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7B7717 | 1.00 | 4.67 | 4.49 | 4.67 |
| #FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.49 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.67 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827200
Deuteranopia (green-blind)
#84761F
Tritanopia (blue-blind)
#856F65
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7b7717; /* rgb */ color: rgb(123, 119, 23); /* oklch */ color: oklch(55.6% 0.111 107.0);
Tailwind
colors: {
custom: {
50: '#a59d5e',
500: '#7b7717',
950: '#000000',
},
}SCSS
$custom: #7b7717; $custom-light: #a59d5e; $custom-dark: #000000;
JSON
{
"hex": "#7b7717",
"rgb": {
"r": 123,
"g": 119,
"b": 23
},
"hsl": {
"h": 57.6,
"s": 68.493,
"l": 28.627
},
"oklch": {
"l": 0.55565,
"c": 0.11101,
"h": 107
},
"luminance": 0.17466
}Semantic roles & 50–950 ramp
primary
#7B7717
secondary
#3E42B0
accent
#43EB3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79