#7C7117#7C7117
#7C7117 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.3% C 0.105 H 101.9°. Best body text is #FFFFFF at 4.96:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7117 |
|---|---|
| RGB | rgb(124, 113, 23) |
| HSL | hsl(53, 69%, 29%) |
| HSV | hsv(53, 81%, 49%) |
| CMYK | cmyk(0%, 8.9%, 81.5%, 51.4%) |
| CIE-LAB | lab(47.18, -5.95, 47.39) |
| CIE-LCH | lch(47.18, 47.76, 97.16°) |
| OKLab | oklab(54.26% -0.0218 0.103) |
| OKLCH | oklch(54.26% 0.105 101.9) |
| XYZ | xyz(14.3727, 16.1579, 3.1722) |
| Luminance | 0.1616 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.60
Brown Green
#706C11
ΔE00 3.33
Browny Green
#6F6C0A
ΔE00 3.60
Hazel
#8E7618
ΔE00 5.22
Brownish Green
#6A6E09
ΔE00 5.24
Olive (survey)
#6E750E
ΔE00 5.59
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7117 #17227C
analogous
#7C3F17 #7C7117 #557C17
triadic
#7C7117 #177C71 #71177C
tetradic
#7C7117 #177C3F #17227C #7C1755
square
#7C7117 #177C3F #17227C #7C1755
split-complementary
#7C7117 #17557C #3F177C
monochromatic
#1A1805 #48420D #7C7117 #B0A021 #D9C734
Accessibility & contrast
On white
4.96
#7C7117 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.23
#7C7117 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C7117
4.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7117 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C7117 | 1.00 | 4.96 | 4.23 | 4.96 |
| #FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.23 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.96 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D01
Deuteranopia (green-blind)
#80721E
Tritanopia (blue-blind)
#866860
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7c7117; /* rgb */ color: rgb(124, 113, 23); /* oklch */ color: oklch(54.3% 0.105 101.9);
Tailwind
colors: {
custom: {
50: '#a5995d',
500: '#7c7117',
950: '#000000',
},
}SCSS
$custom: #7c7117; $custom-light: #a5995d; $custom-dark: #000000;
JSON
{
"hex": "#7c7117",
"rgb": {
"r": 124,
"g": 113,
"b": 23
},
"hsl": {
"h": 53.465,
"s": 68.707,
"l": 28.824
},
"oklch": {
"l": 0.54264,
"c": 0.10528,
"h": 101.9
},
"luminance": 0.16157
}Semantic roles & 50–950 ramp
primary
#7C7117
secondary
#3E4AB1
accent
#4FEC3C
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79