#7F7621#7F7621
#7F7621 is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.8% C 0.104 H 103.2°. Best body text is #FFFFFF at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7621 |
|---|---|
| RGB | rgb(127, 118, 33) |
| HSL | hsl(54, 59%, 31%) |
| HSV | hsv(54, 74%, 50%) |
| CMYK | cmyk(0%, 7.1%, 74%, 50.2%) |
| CIE-LAB | lab(48.98, -6.89, 45.47) |
| CIE-LCH | lch(48.98, 45.99, 98.61°) |
| OKLab | oklab(55.78% -0.0236 0.1008) |
| OKLCH | oklch(55.78% 0.104 103.2) |
| XYZ | xyz(15.5060, 17.5793, 4.0149) |
| Luminance | 0.1758 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.00
Brown Green
#706C11
ΔE00 4.54
Browny Green
#6F6C0A
ΔE00 4.81
Hazel
#8E7618
ΔE00 5.19
Olive
#808000
ΔE00 5.24
Olive (survey)
#6E750E
ΔE00 5.25
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7621 #212A7F
analogous
#7F4721 #7F7621 #597F21
triadic
#7F7621 #217F76 #76217F
tetradic
#7F7621 #217F47 #212A7F #7F2159
square
#7F7621 #217F47 #212A7F #7F2159
split-complementary
#7F7621 #21597F #47217F
monochromatic
#1E1C08 #4E4914 #7F7621 #B0A32E #D0C34A
Accessibility & contrast
On white
4.65
#7F7621 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.52
#7F7621 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7621
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7621 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7621 | 1.00 | 4.65 | 4.52 | 4.65 |
| #FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.52 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.65 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#817213
Deuteranopia (green-blind)
#847627
Tritanopia (blue-blind)
#896D65
Achromatopsia (no color)
#747474
Design tokens & code
CSS
--color: #7f7621; /* rgb */ color: rgb(127, 118, 33); /* oklch */ color: oklch(55.8% 0.104 103.2);
Tailwind
colors: {
custom: {
50: '#a79d63',
500: '#7f7621',
950: '#000000',
},
}SCSS
$custom: #7f7621; $custom-light: #a79d63; $custom-dark: #000000;
JSON
{
"hex": "#7f7621",
"rgb": {
"r": 127,
"g": 118,
"b": 33
},
"hsl": {
"h": 54.255,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.55783,
"c": 0.10354,
"h": 103.2
},
"luminance": 0.17579
}Semantic roles & 50–950 ramp
primary
#7F7621
secondary
#4A54B2
accent
#55E246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A