#7C712A#7C712A
#7C712A is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.4% C 0.092 H 100.5°. Best body text is #FFFFFF at 4.94:1 contrast (WCAG AA passes).
Color values
| HEX | #7C712A |
|---|---|
| RGB | rgb(124, 113, 42) |
| HSL | hsl(52, 49%, 33%) |
| HSV | hsv(52, 66%, 49%) |
| CMYK | cmyk(0%, 8.9%, 66.1%, 51.4%) |
| CIE-LAB | lab(47.32, -4.92, 39.72) |
| CIE-LCH | lch(47.32, 40.03, 97.07°) |
| OKLab | oklab(54.42% -0.0167 0.0904) |
| OKLCH | oklch(54.42% 0.092 100.5) |
| XYZ | xyz(14.6358, 16.2631, 4.5582) |
| Luminance | 0.1626 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.16
Brown Green
#706C11
ΔE00 4.20
Browny Green
#6F6C0A
ΔE00 4.73
Hazel
#8E7618
ΔE00 5.96
Brownish Green
#6A6E09
ΔE00 6.08
Olive Drab
#6F7632
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C712A #2A357C
analogous
#7C482A #7C712A #5E7C2A
triadic
#7C712A #2A7C71 #712A7C
tetradic
#7C712A #2A7C48 #2A357C #7C2A5E
square
#7C712A #2A7C48 #2A357C #7C2A5E
split-complementary
#7C712A #2A5E7C #482A7C
monochromatic
#211E0B #4E471B #7C712A #AA9B39 #C7B859
Accessibility & contrast
On white
4.94
#7C712A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.25
#7C712A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C712A
4.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C712A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C712A | 1.00 | 4.94 | 4.25 | 4.94 |
| #FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.25 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.94 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6E22
Deuteranopia (green-blind)
#7F722E
Tritanopia (blue-blind)
#856962
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7c712a; /* rgb */ color: rgb(124, 113, 42); /* oklch */ color: oklch(54.4% 0.092 100.5);
Tailwind
colors: {
custom: {
50: '#a49967',
500: '#7c712a',
950: '#000000',
},
}SCSS
$custom: #7c712a; $custom-light: #a49967; $custom-dark: #000000;
JSON
{
"hex": "#7c712a",
"rgb": {
"r": 124,
"g": 113,
"b": 42
},
"hsl": {
"h": 51.951,
"s": 49.398,
"l": 32.549
},
"oklch": {
"l": 0.54416,
"c": 0.09194,
"h": 100.5
},
"luminance": 0.16263
}Semantic roles & 50–950 ramp
primary
#7C712A
secondary
#5561AD
accent
#61D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A