#7F7428#7F7428
#7F7428 is a mid, moderate yellow. Relative luminance 0.172; OKLCH L 55.4% C 0.096 H 101.0°. Best body text is #FFFFFF at 4.74:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7428 |
|---|---|
| RGB | rgb(127, 116, 40) |
| HSL | hsl(52, 52%, 33%) |
| HSV | hsv(52, 69%, 50%) |
| CMYK | cmyk(0%, 8.7%, 68.5%, 50.2%) |
| CIE-LAB | lab(48.46, -5.36, 41.94) |
| CIE-LCH | lch(48.46, 42.28, 97.28°) |
| OKLab | oklab(55.38% -0.0184 0.0947) |
| OKLCH | oklch(55.38% 0.096 101) |
| XYZ | xyz(15.3814, 17.1567, 4.5084) |
| Luminance | 0.1716 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.61
Brown Green
#706C11
ΔE00 4.61
Browny Green
#6F6C0A
ΔE00 5.04
Hazel
#8E7618
ΔE00 5.14
Olive (survey)
#6E750E
ΔE00 6.14
Brownish Green
#6A6E09
ΔE00 6.26
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7428 #28337F
analogous
#7F4928 #7F7428 #5E7F28
triadic
#7F7428 #287F74 #74287F
tetradic
#7F7428 #287F49 #28337F #7F285E
square
#7F7428 #287F49 #28337F #7F285E
split-complementary
#7F7428 #285E7F #49287F
monochromatic
#221F0B #504919 #7F7428 #AE9F37 #CABC57
Accessibility & contrast
On white
4.74
#7F7428 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.43
#7F7428 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7428
4.74:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7428 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7428 | 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)
#7F711E
Deuteranopia (green-blind)
#82752C
Tritanopia (blue-blind)
#896C64
Achromatopsia (no color)
#737373
Design tokens & code
CSS
--color: #7f7428; /* rgb */ color: rgb(127, 116, 40); /* oklch */ color: oklch(55.4% 0.096 101.0);
Tailwind
colors: {
custom: {
50: '#a79b66',
500: '#7f7428',
950: '#000000',
},
}SCSS
$custom: #7f7428; $custom-light: #a79b66; $custom-dark: #000000;
JSON
{
"hex": "#7f7428",
"rgb": {
"r": 127,
"g": 116,
"b": 40
},
"hsl": {
"h": 52.414,
"s": 52.096,
"l": 32.745
},
"oklch": {
"l": 0.55383,
"c": 0.09644,
"h": 101
},
"luminance": 0.17156
}Semantic roles & 50–950 ramp
primary
#7F7428
secondary
#545FAF
accent
#5EDC4C
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A