#7C6F2F#7C6F2F
#7C6F2F is a mid, moderate yellow. Relative luminance 0.159; OKLCH L 54.0% C 0.086 H 97.9°. Best body text is #FFFFFF at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7C6F2F |
|---|---|
| RGB | rgb(124, 111, 47) |
| HSL | hsl(50, 45%, 34%) |
| HSV | hsv(50, 62%, 49%) |
| CMYK | cmyk(0%, 10.5%, 62.1%, 51.4%) |
| CIE-LAB | lab(46.79, -3.42, 36.71) |
| CIE-LCH | lch(46.79, 36.87, 95.32°) |
| OKLab | oklab(54.01% -0.0118 0.0847) |
| OKLCH | oklch(54.01% 0.086 97.9) |
| XYZ | xyz(14.5103, 15.8598, 4.9857) |
| Luminance | 0.1586 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Green
#706C11
ΔE00 5.14
Ugly Brown
#7D7103
ΔE00 5.35
Browny Green
#6F6C0A
ΔE00 5.72
Greenish Brown
#696112
ΔE00 6.33
Hazel
#8E7618
ΔE00 6.46
Olive Drab
#6F7632
ΔE00 6.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C6F2F #2F3C7C
analogous
#7C482F #7C6F2F #627C2F
triadic
#7C6F2F #2F7C6F #6F2F7C
tetradic
#7C6F2F #2F7C48 #2F3C7C #7C2F62
square
#7C6F2F #2F7C48 #2F3C7C #7C2F62
split-complementary
#7C6F2F #2F627C #482F7C
monochromatic
#23200D #50471E #7C6F2F #A89740 #C3B362
Accessibility & contrast
On white
5.03
#7C6F2F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.17
#7C6F2F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C6F2F
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C6F2F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C6F2F | 1.00 | 5.03 | 4.17 | 5.03 |
| #FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.17 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.03 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796C28
Deuteranopia (green-blind)
#7D7132
Tritanopia (blue-blind)
#856761
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7c6f2f; /* rgb */ color: rgb(124, 111, 47); /* oklch */ color: oklch(54.0% 0.086 97.9);
Tailwind
colors: {
custom: {
50: '#a4986a',
500: '#7c6f2f',
950: '#000000',
},
}SCSS
$custom: #7c6f2f; $custom-light: #a4986a; $custom-dark: #000000;
JSON
{
"hex": "#7c6f2f",
"rgb": {
"r": 124,
"g": 111,
"b": 47
},
"hsl": {
"h": 49.87,
"s": 45.029,
"l": 33.529
},
"oklch": {
"l": 0.54014,
"c": 0.08555,
"h": 97.9
},
"luminance": 0.15859
}Semantic roles & 50–950 ramp
primary
#7C6F2F
secondary
#5C6AAA
accent
#69D553
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A