#7F7520#7F7520
#7F7520 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.5% C 0.103 H 102.4°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7520 |
|---|---|
| RGB | rgb(127, 117, 32) |
| HSL | hsl(54, 60%, 31%) |
| HSV | hsv(54, 75%, 50%) |
| CMYK | cmyk(0%, 7.9%, 74.8%, 50.2%) |
| CIE-LAB | lab(48.69, -6.38, 45.58) |
| CIE-LCH | lch(48.69, 46.03, 97.97°) |
| OKLab | oklab(55.55% -0.0222 0.1009) |
| OKLCH | oklch(55.55% 0.103 102.4) |
| XYZ | xyz(15.3751, 17.3396, 3.9032) |
| Luminance | 0.1734 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.70
Brown Green
#706C11
ΔE00 4.38
Browny Green
#6F6C0A
ΔE00 4.67
Hazel
#8E7618
ΔE00 4.96
Olive (survey)
#6E750E
ΔE00 5.47
Olive
#808000
ΔE00 5.58
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7520 #202A7F
analogous
#7F4520 #7F7520 #597F20
triadic
#7F7520 #207F75 #75207F
tetradic
#7F7520 #207F45 #202A7F #7F2059
square
#7F7520 #207F45 #202A7F #7F2059
split-complementary
#7F7520 #20597F #45207F
monochromatic
#1D1B07 #4E4814 #7F7520 #B0A22C #D1C348
Accessibility & contrast
On white
4.70
#7F7520 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#7F7520 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7520
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7520 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7520 | 1.00 | 4.70 | 4.47 | 4.70 |
| #FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.47 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.70 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#807111
Deuteranopia (green-blind)
#837626
Tritanopia (blue-blind)
#896C64
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7f7520; /* rgb */ color: rgb(127, 117, 32); /* oklch */ color: oklch(55.5% 0.103 102.4);
Tailwind
colors: {
custom: {
50: '#a79c62',
500: '#7f7520',
950: '#000000',
},
}SCSS
$custom: #7f7520; $custom-light: #a79c62; $custom-dark: #000000;
JSON
{
"hex": "#7f7520",
"rgb": {
"r": 127,
"g": 117,
"b": 32
},
"hsl": {
"h": 53.684,
"s": 59.748,
"l": 31.176
},
"oklch": {
"l": 0.55545,
"c": 0.10329,
"h": 102.4
},
"luminance": 0.17339
}Semantic roles & 50–950 ramp
primary
#7F7520
secondary
#4954B2
accent
#56E345
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A