#7C7415#7C7415
#7C7415 is a mid, moderate yellow. Relative luminance 0.168; OKLCH L 54.9% C 0.109 H 104.3°. Best body text is #FFFFFF at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7415 |
|---|---|
| RGB | rgb(124, 116, 21) |
| HSL | hsl(55, 71%, 28%) |
| HSV | hsv(55, 83%, 49%) |
| CMYK | cmyk(0%, 6.5%, 83.1%, 51.4%) |
| CIE-LAB | lab(48.05, -7.71, 48.81) |
| CIE-LCH | lch(48.05, 49.41, 98.98°) |
| OKLab | oklab(54.95% -0.0269 0.1056) |
| OKLCH | oklch(54.95% 0.109 104.3) |
| XYZ | xyz(14.6936, 16.8306, 3.1840) |
| Luminance | 0.1683 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 1.95
Brown Green
#706C11
ΔE00 3.63
Browny Green
#6F6C0A
ΔE00 3.77
Olive (survey)
#6E750E
ΔE00 4.61
Brownish Green
#6A6E09
ΔE00 4.89
Olive
#808000
ΔE00 5.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7415 #151D7C
analogous
#7C4015 #7C7415 #507C15
triadic
#7C7415 #157C74 #74157C
tetradic
#7C7415 #157C40 #151D7C #7C1550
square
#7C7415 #157C40 #151D7C #7C1550
split-complementary
#7C7415 #15507C #40157C
monochromatic
#1A1804 #48430C #7C7415 #B0A51E #DCCE30
Accessibility & contrast
On white
4.81
#7C7415 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.37
#7C7415 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C7415
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7415 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C7415 | 1.00 | 4.81 | 4.37 | 4.81 |
| #FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.37 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.81 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7000
Deuteranopia (green-blind)
#82741D
Tritanopia (blue-blind)
#866B63
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7c7415; /* rgb */ color: rgb(124, 116, 21); /* oklch */ color: oklch(54.9% 0.109 104.3);
Tailwind
colors: {
custom: {
50: '#a59b5c',
500: '#7c7415',
950: '#000000',
},
}SCSS
$custom: #7c7415; $custom-light: #a59b5c; $custom-dark: #000000;
JSON
{
"hex": "#7c7415",
"rgb": {
"r": 124,
"g": 116,
"b": 21
},
"hsl": {
"h": 55.34,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.54949,
"c": 0.10899,
"h": 104.3
},
"luminance": 0.1683
}Semantic roles & 50–950 ramp
primary
#7C7415
secondary
#3C45B1
accent
#48EE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E04
muted
#7F7E79