#7F7420#7F7420
#7F7420 is a mid, moderate yellow. Relative luminance 0.171; OKLCH L 55.3% C 0.102 H 101.6°. Best body text is #FFFFFF at 4.75:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7420 |
|---|---|
| RGB | rgb(127, 116, 32) |
| HSL | hsl(53, 60%, 31%) |
| HSV | hsv(53, 75%, 50%) |
| CMYK | cmyk(0%, 8.7%, 74.8%, 50.2%) |
| CIE-LAB | lab(48.40, -5.82, 45.30) |
| CIE-LCH | lch(48.40, 45.67, 97.32°) |
| OKLab | oklab(55.32% -0.0207 0.1003) |
| OKLCH | oklch(55.32% 0.102 101.6) |
| XYZ | xyz(15.2592, 17.1078, 3.8646) |
| Luminance | 0.1711 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.56
Brown Green
#706C11
ΔE00 4.29
Browny Green
#6F6C0A
ΔE00 4.61
Hazel
#8E7618
ΔE00 4.78
Olive (survey)
#6E750E
ΔE00 5.76
Brownish Green
#6A6E09
ΔE00 5.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7420 #202B7F
analogous
#7F4420 #7F7420 #5A7F20
triadic
#7F7420 #207F74 #74207F
tetradic
#7F7420 #207F44 #202B7F #7F205A
square
#7F7420 #207F44 #202B7F #7F205A
split-complementary
#7F7420 #205A7F #44207F
monochromatic
#1D1B07 #4E4714 #7F7420 #B0A12C #D1C148
Accessibility & contrast
On white
4.75
#7F7420 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.42
#7F7420 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7420
4.75:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7420 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7420 | 1.00 | 4.75 | 4.42 | 4.75 |
| #FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.42 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.75 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7012
Deuteranopia (green-blind)
#827526
Tritanopia (blue-blind)
#896B64
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7f7420; /* rgb */ color: rgb(127, 116, 32); /* oklch */ color: oklch(55.3% 0.102 101.6);
Tailwind
colors: {
custom: {
50: '#a79b62',
500: '#7f7420',
950: '#000000',
},
}SCSS
$custom: #7f7420; $custom-light: #a79b62; $custom-dark: #000000;
JSON
{
"hex": "#7f7420",
"rgb": {
"r": 127,
"g": 116,
"b": 32
},
"hsl": {
"h": 53.053,
"s": 59.748,
"l": 31.176
},
"oklch": {
"l": 0.55315,
"c": 0.10238,
"h": 101.6
},
"luminance": 0.17107
}Semantic roles & 50–950 ramp
primary
#7F7420
secondary
#4955B2
accent
#57E345
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A