#7C712F#7C712F
#7C712F is a mid, moderate yellow. Relative luminance 0.163; OKLCH L 54.5% C 0.087 H 99.9°. Best body text is #FFFFFF at 4.93:1 contrast (WCAG AA passes).
Color values
| HEX | #7C712F |
|---|---|
| RGB | rgb(124, 113, 47) |
| HSL | hsl(51, 45%, 34%) |
| HSV | hsv(51, 62%, 49%) |
| CMYK | cmyk(0%, 8.9%, 62.1%, 51.4%) |
| CIE-LAB | lab(47.37, -4.56, 37.35) |
| CIE-LCH | lch(47.37, 37.63, 96.96°) |
| OKLab | oklab(54.47% -0.0151 0.0861) |
| OKLCH | oklch(54.47% 0.087 99.9) |
| XYZ | xyz(14.7310, 16.3012, 5.0593) |
| Luminance | 0.1630 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Green
#706C11
ΔE00 4.80
Ugly Brown
#7D7103
ΔE00 5.02
Browny Green
#6F6C0A
ΔE00 5.36
Olive Drab
#6F7632
ΔE00 6.03
Hazel
#8E7618
ΔE00 6.40
Brownish Green
#6A6E09
ΔE00 6.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C712F #2F3A7C
analogous
#7C4A2F #7C712F #607C2F
triadic
#7C712F #2F7C71 #712F7C
tetradic
#7C712F #2F7C4A #2F3A7C #7C2F60
square
#7C712F #2F7C4A #2F3A7C #7C2F60
split-complementary
#7C712F #2F607C #4A2F7C
monochromatic
#23200D #50491E #7C712F #A89940 #C3B662
Accessibility & contrast
On white
4.93
#7C712F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.26
#7C712F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C712F
4.93:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C712F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C712F | 1.00 | 4.93 | 4.26 | 4.93 |
| #FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.26 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.93 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6E28
Deuteranopia (green-blind)
#7E7232
Tritanopia (blue-blind)
#856963
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7c712f; /* rgb */ color: rgb(124, 113, 47); /* oklch */ color: oklch(54.5% 0.087 99.9);
Tailwind
colors: {
custom: {
50: '#a4996a',
500: '#7c712f',
950: '#000000',
},
}SCSS
$custom: #7c712f; $custom-light: #a4996a; $custom-dark: #000000;
JSON
{
"hex": "#7c712f",
"rgb": {
"r": 124,
"g": 113,
"b": 47
},
"hsl": {
"h": 51.429,
"s": 45.029,
"l": 33.529
},
"oklch": {
"l": 0.54471,
"c": 0.08742,
"h": 99.9
},
"luminance": 0.16301
}Semantic roles & 50–950 ramp
primary
#7C712F
secondary
#5C68AA
accent
#66D553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D07
muted
#7F7E7A