#7F7522#7F7522
#7F7522 is a mid, moderate yellow. Relative luminance 0.173; OKLCH L 55.6% C 0.102 H 102.3°. Best body text is #FFFFFF at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7522 |
|---|---|
| RGB | rgb(127, 117, 34) |
| HSL | hsl(54, 58%, 32%) |
| HSV | hsv(54, 73%, 50%) |
| CMYK | cmyk(0%, 7.9%, 73.2%, 50.2%) |
| CIE-LAB | lab(48.70, -6.27, 44.78) |
| CIE-LCH | lch(48.70, 45.22, 97.98°) |
| OKLab | oklab(55.56% -0.0217 0.0996) |
| OKLCH | oklch(55.56% 0.102 102.3) |
| XYZ | xyz(15.4031, 17.3508, 4.0507) |
| Luminance | 0.1735 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.91
Brown Green
#706C11
ΔE00 4.43
Browny Green
#6F6C0A
ΔE00 4.74
Hazel
#8E7618
ΔE00 5.02
Olive (survey)
#6E750E
ΔE00 5.54
Olive
#808000
ΔE00 5.74
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7522 #222C7F
analogous
#7F4722 #7F7522 #5B7F22
triadic
#7F7522 #227F75 #75227F
tetradic
#7F7522 #227F47 #222C7F #7F225B
square
#7F7522 #227F47 #222C7F #7F225B
split-complementary
#7F7522 #225B7F #47227F
monochromatic
#1E1C08 #4F4915 #7F7522 #AFA12F #CFC14C
Accessibility & contrast
On white
4.70
#7F7522 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.47
#7F7522 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7522
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7522 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7522 | 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)
#807115
Deuteranopia (green-blind)
#837627
Tritanopia (blue-blind)
#896C65
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7f7522; /* rgb */ color: rgb(127, 117, 34); /* oklch */ color: oklch(55.6% 0.102 102.3);
Tailwind
colors: {
custom: {
50: '#a79c63',
500: '#7f7522',
950: '#000000',
},
}SCSS
$custom: #7f7522; $custom-light: #a79c63; $custom-dark: #000000;
JSON
{
"hex": "#7f7522",
"rgb": {
"r": 127,
"g": 117,
"b": 34
},
"hsl": {
"h": 53.548,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.55561,
"c": 0.10191,
"h": 102.3
},
"luminance": 0.1735
}Semantic roles & 50–950 ramp
primary
#7F7522
secondary
#4B56B2
accent
#57E147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A