#7C7121#7C7121
#7C7121 is a mid, moderate yellow. Relative luminance 0.162; OKLCH L 54.3% C 0.099 H 101.3°. Best body text is #FFFFFF at 4.95:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7121 |
|---|---|
| RGB | rgb(124, 113, 33) |
| HSL | hsl(53, 58%, 31%) |
| HSV | hsv(53, 73%, 49%) |
| CMYK | cmyk(0%, 8.9%, 73.4%, 51.4%) |
| CIE-LAB | lab(47.24, -5.48, 43.66) |
| CIE-LCH | lch(47.24, 44.01, 97.16°) |
| OKLab | oklab(54.33% -0.0194 0.0971) |
| OKLCH | oklch(54.33% 0.099 101.3) |
| XYZ | xyz(14.4925, 16.2058, 3.8032) |
| Luminance | 0.1620 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.80
Brown Green
#706C11
ΔE00 3.52
Browny Green
#6F6C0A
ΔE00 3.95
Hazel
#8E7618
ΔE00 5.45
Brownish Green
#6A6E09
ΔE00 5.48
Olive (survey)
#6E750E
ΔE00 5.84
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7121 #212C7C
analogous
#7C4321 #7C7121 #597C21
triadic
#7C7121 #217C71 #71217C
tetradic
#7C7121 #217C43 #212C7C #7C2159
square
#7C7121 #217C43 #212C7C #7C2159
split-complementary
#7C7121 #21597C #43217C
monochromatic
#1B1907 #4C4514 #7C7121 #AC9D2E #CFBE49
Accessibility & contrast
On white
4.95
#7C7121 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.24
#7C7121 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C7121
4.95:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7121 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C7121 | 1.00 | 4.95 | 4.24 | 4.95 |
| #FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.24 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.95 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6E15
Deuteranopia (green-blind)
#7F7226
Tritanopia (blue-blind)
#866961
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7c7121; /* rgb */ color: rgb(124, 113, 33); /* oklch */ color: oklch(54.3% 0.099 101.3);
Tailwind
colors: {
custom: {
50: '#a59962',
500: '#7c7121',
950: '#000000',
},
}SCSS
$custom: #7c7121; $custom-light: #a59962; $custom-dark: #000000;
JSON
{
"hex": "#7c7121",
"rgb": {
"r": 124,
"g": 113,
"b": 33
},
"hsl": {
"h": 52.747,
"s": 57.962,
"l": 30.784
},
"oklch": {
"l": 0.54333,
"c": 0.09904,
"h": 101.3
},
"luminance": 0.16205
}Semantic roles & 50–950 ramp
primary
#7C7121
secondary
#4A56AF
accent
#59E147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D05
muted
#7F7E7A