#7F7429#7F7429
#7F7429 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.096 H 100.9°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7429 |
|---|---|
| RGB | rgb(127, 116, 41) |
| HSL | hsl(52, 51%, 33%) |
| HSV | hsv(52, 68%, 50%) |
| CMYK | cmyk(0%, 8.7%, 67.7%, 50.2%) |
| CIE-LAB | lab(48.47, -5.29, 41.49) |
| CIE-LCH | lch(48.47, 41.83, 97.27°) |
| OKLab | oklab(55.39% -0.0181 0.0939) |
| OKLCH | oklch(55.39% 0.096 100.9) |
| XYZ | xyz(15.3987, 17.1636, 4.5992) |
| Luminance | 0.1716 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.75
Brown Green
#706C11
ΔE00 4.68
Browny Green
#6F6C0A
ΔE00 5.12
Hazel
#8E7618
ΔE00 5.20
Olive (survey)
#6E750E
ΔE00 6.21
Olive Drab
#6F7632
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7429 #29347F
analogous
#7F4929 #7F7429 #5F7F29
triadic
#7F7429 #297F74 #74297F
tetradic
#7F7429 #297F49 #29347F #7F295F
square
#7F7429 #297F49 #29347F #7F295F
split-complementary
#7F7429 #295F7F #49297F
monochromatic
#221F0B #514A1A #7F7429 #AD9E38 #C9BB59
Accessibility & contrast
On white
4.74
#7F7429 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#7F7429 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7429
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7429 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7429 | 1.00 | 4.74 | 4.43 | 4.74 |
| #FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.43 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.74 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F7120
Deuteranopia (green-blind)
#82752D
Tritanopia (blue-blind)
#896C64
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7f7429; /* rgb */ color: rgb(127, 116, 41); /* oklch */ color: oklch(55.4% 0.096 100.9);
Tailwind
colors: {
custom: {
50: '#a79b67',
500: '#7f7429',
950: '#000000',
},
}SCSS
$custom: #7f7429; $custom-light: #a79b67; $custom-dark: #000000;
JSON
{
"hex": "#7f7429",
"rgb": {
"r": 127,
"g": 116,
"b": 41
},
"hsl": {
"h": 52.326,
"s": 51.19,
"l": 32.941
},
"oklch": {
"l": 0.55393,
"c": 0.09562,
"h": 100.9
},
"luminance": 0.17163
}Semantic roles & 50–950 ramp
primary
#7F7429
secondary
#5561AF
accent
#5FDB4D
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A