#7C7315#7C7315
#7C7315 is a mid, moderate yellow. Relative luminance 0.166; OKLCH L 54.7% C 0.108 H 103.6°. Best body text is #FFFFFF at 4.86:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7315 |
|---|---|
| RGB | rgb(124, 115, 21) |
| HSL | hsl(55, 71%, 28%) |
| HSV | hsv(55, 83%, 49%) |
| CMYK | cmyk(0%, 7.3%, 83.1%, 51.4%) |
| CIE-LAB | lab(47.75, -7.15, 48.55) |
| CIE-LCH | lch(47.75, 49.07, 98.38°) |
| OKLab | oklab(54.72% -0.0253 0.1051) |
| OKLCH | oklch(54.72% 0.108 103.6) |
| XYZ | xyz(14.5790, 16.6013, 3.1458) |
| Luminance | 0.1660 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.66
Brown Green
#706C11
ΔE00 3.48
Browny Green
#6F6C0A
ΔE00 3.65
Olive (survey)
#6E750E
ΔE00 4.91
Brownish Green
#6A6E09
ΔE00 4.96
Hazel
#8E7618
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7315 #151E7C
analogous
#7C3F15 #7C7315 #517C15
triadic
#7C7315 #157C73 #73157C
tetradic
#7C7315 #157C3F #151E7C #7C1551
square
#7C7315 #157C3F #151E7C #7C1551
split-complementary
#7C7315 #15517C #3F157C
monochromatic
#1A1804 #48420C #7C7315 #B0A41E #DCCD30
Accessibility & contrast
On white
4.86
#7C7315 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.32
#7C7315 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C7315
4.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7315 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C7315 | 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)
#81731D
Tritanopia (blue-blind)
#866A62
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7c7315; /* rgb */ color: rgb(124, 115, 21); /* oklch */ color: oklch(54.7% 0.108 103.6);
Tailwind
colors: {
custom: {
50: '#a59b5c',
500: '#7c7315',
950: '#000000',
},
}SCSS
$custom: #7c7315; $custom-light: #a59b5c; $custom-dark: #000000;
JSON
{
"hex": "#7c7315",
"rgb": {
"r": 124,
"g": 115,
"b": 21
},
"hsl": {
"h": 54.757,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.54716,
"c": 0.10808,
"h": 103.6
},
"luminance": 0.16601
}Semantic roles & 50–950 ramp
primary
#7C7315
secondary
#3C46B1
accent
#4AEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79