#7F742E#7F742E
#7F742E is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.091 H 100.4°. Best body text is #FFFFFF at 4.73:1 contrast (WCAG AA passes).
Color values
| HEX | #7F742E |
|---|---|
| RGB | rgb(127, 116, 46) |
| HSL | hsl(52, 47%, 34%) |
| HSV | hsv(52, 64%, 50%) |
| CMYK | cmyk(0%, 8.7%, 63.8%, 50.2%) |
| CIE-LAB | lab(48.51, -4.95, 39.19) |
| CIE-LCH | lch(48.51, 39.50, 97.20°) |
| OKLab | oklab(55.45% -0.0165 0.0898) |
| OKLCH | oklch(55.45% 0.091 100.4) |
| XYZ | xyz(15.4915, 17.2007, 5.0883) |
| Luminance | 0.1720 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.54
Brown Green
#706C11
ΔE00 5.10
Browny Green
#6F6C0A
ΔE00 5.58
Hazel
#8E7618
ΔE00 5.60
Olive Drab
#6F7632
ΔE00 6.07
Olive (survey)
#6E750E
ΔE00 6.63
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F742E #2E397F
analogous
#7F4C2E #7F742E #627F2E
triadic
#7F742E #2E7F74 #742E7F
tetradic
#7F742E #2E7F4C #2E397F #7F2E62
square
#7F742E #2E7F4C #2E397F #7F2E62
split-complementary
#7F742E #2E627F #4C2E7F
monochromatic
#25220D #524B1E #7F742E #AC9D3E #C6B861
Accessibility & contrast
On white
4.73
#7F742E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.44
#7F742E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F742E
4.73:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F742E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F742E | 1.00 | 4.73 | 4.44 | 4.73 |
| #FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.44 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.73 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7126
Deuteranopia (green-blind)
#827532
Tritanopia (blue-blind)
#886C65
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7f742e; /* rgb */ color: rgb(127, 116, 46); /* oklch */ color: oklch(55.4% 0.091 100.4);
Tailwind
colors: {
custom: {
50: '#a69b6a',
500: '#7f742e',
950: '#000000',
},
}SCSS
$custom: #7f742e; $custom-light: #a69b6a; $custom-dark: #000000;
JSON
{
"hex": "#7f742e",
"rgb": {
"r": 127,
"g": 116,
"b": 46
},
"hsl": {
"h": 51.852,
"s": 46.821,
"l": 33.922
},
"oklch": {
"l": 0.55445,
"c": 0.0913,
"h": 100.4
},
"luminance": 0.172
}Semantic roles & 50–950 ramp
primary
#7F742E
secondary
#5C67AD
accent
#63D651
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E07
muted
#7F7E7A