#7C7317#7C7317
#7C7317 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.7% C 0.107 H 103.5°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7317 |
|---|---|
| RGB | rgb(124, 115, 23) |
| HSL | hsl(55, 69%, 29%) |
| HSV | hsv(55, 81%, 49%) |
| CMYK | cmyk(0%, 7.3%, 81.5%, 51.4%) |
| CIE-LAB | lab(47.76, -7.08, 47.91) |
| CIE-LCH | lch(47.76, 48.43, 98.40°) |
| OKLab | oklab(54.73% -0.0249 0.1041) |
| OKLCH | oklch(54.73% 0.107 103.5) |
| XYZ | xyz(14.5982, 16.6090, 3.2474) |
| Luminance | 0.1661 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.81
Brown Green
#706C11
ΔE00 3.45
Browny Green
#6F6C0A
ΔE00 3.65
Olive (survey)
#6E750E
ΔE00 4.91
Brownish Green
#6A6E09
ΔE00 4.96
Hazel
#8E7618
ΔE00 5.47
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7317 #17207C
analogous
#7C4117 #7C7317 #537C17
triadic
#7C7317 #177C73 #73177C
tetradic
#7C7317 #177C41 #17207C #7C1753
square
#7C7317 #177C41 #17207C #7C1753
split-complementary
#7C7317 #17537C #41177C
monochromatic
#1A1805 #48430D #7C7317 #B0A321 #D9CB34
Accessibility & contrast
On white
4.86
#7C7317 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#7C7317 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C7317
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7317 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C7317 | 1.00 | 4.86 | 4.32 | 4.86 |
| #FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.32 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.86 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7E6F00
Deuteranopia (green-blind)
#81731E
Tritanopia (blue-blind)
#866A62
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7c7317; /* rgb */ color: rgb(124, 115, 23); /* oklch */ color: oklch(54.7% 0.107 103.5);
Tailwind
colors: {
custom: {
50: '#a59b5d',
500: '#7c7317',
950: '#000000',
},
}SCSS
$custom: #7c7317; $custom-light: #a59b5d; $custom-dark: #000000;
JSON
{
"hex": "#7c7317",
"rgb": {
"r": 124,
"g": 115,
"b": 23
},
"hsl": {
"h": 54.653,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.54727,
"c": 0.10707,
"h": 103.5
},
"luminance": 0.16608
}Semantic roles & 50–950 ramp
primary
#7C7317
secondary
#3E48B1
accent
#4CEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79