#7F7121#7F7121
#7F7121 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.099 H 99.1°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7121 |
|---|---|
| RGB | rgb(127, 113, 33) |
| HSL | hsl(51, 59%, 31%) |
| HSV | hsv(51, 74%, 50%) |
| CMYK | cmyk(0%, 11%, 74%, 50.2%) |
| CIE-LAB | lab(47.54, -4.07, 44.05) |
| CIE-LCH | lch(47.54, 44.24, 95.28°) |
| OKLab | oklab(54.64% -0.0156 0.0978) |
| OKLCH | oklch(54.64% 0.099 99.1) |
| XYZ | xyz(14.9327, 16.4328, 3.8238) |
| Luminance | 0.1643 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.81
Brown Green
#706C11
ΔE00 4.38
Hazel
#8E7618
ΔE00 4.53
Browny Green
#6F6C0A
ΔE00 4.79
Poo
#8F7303
ΔE00 5.61
Brownish Green
#6A6E09
ΔE00 6.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7121 #212F7F
analogous
#7F4221 #7F7121 #5E7F21
triadic
#7F7121 #217F71 #71217F
tetradic
#7F7121 #217F42 #212F7F #7F215E
square
#7F7121 #217F42 #212F7F #7F215E
split-complementary
#7F7121 #215E7F #42217F
monochromatic
#1E1B08 #4E4614 #7F7121 #B09C2E #D0BC4A
Accessibility & contrast
On white
4.90
#7F7121 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.29
#7F7121 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7121
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7121 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7121 | 1.00 | 4.90 | 4.29 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.29 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6E14
Deuteranopia (green-blind)
#807326
Tritanopia (blue-blind)
#896861
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7f7121; /* rgb */ color: rgb(127, 113, 33); /* oklch */ color: oklch(54.6% 0.099 99.1);
Tailwind
colors: {
custom: {
50: '#a79962',
500: '#7f7121',
950: '#000000',
},
}SCSS
$custom: #7f7121; $custom-light: #a79962; $custom-dark: #000000;
JSON
{
"hex": "#7f7121",
"rgb": {
"r": 127,
"g": 113,
"b": 33
},
"hsl": {
"h": 51.064,
"s": 58.75,
"l": 31.373
},
"oklch": {
"l": 0.54636,
"c": 0.09906,
"h": 99.1
},
"luminance": 0.16432
}Semantic roles & 50–950 ramp
primary
#7F7121
secondary
#4A5AB2
accent
#5DE246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D05
muted
#7F7E7A