#7F7722#7F7722
#7F7722 is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 56.0% C 0.104 H 103.9°. Best body text is #FFFFFF at 4.60:1 contrast (WCAG AA passes).
Color values
| HEX | #7F7722 |
|---|---|
| RGB | rgb(127, 119, 34) |
| HSL | hsl(55, 58%, 32%) |
| HSV | hsv(55, 73%, 50%) |
| CMYK | cmyk(0%, 6.3%, 73.2%, 50.2%) |
| CIE-LAB | lab(49.28, -7.39, 45.36) |
| CIE-LCH | lch(49.28, 45.95, 99.26°) |
| OKLab | oklab(56.02% -0.0249 0.1008) |
| OKLCH | oklch(56.02% 0.104 103.9) |
| XYZ | xyz(15.6386, 17.8218, 4.1293) |
| Luminance | 0.1782 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.34
Brown Green
#706C11
ΔE00 4.75
Olive
#808000
ΔE00 4.92
Browny Green
#6F6C0A
ΔE00 4.99
Olive (survey)
#6E750E
ΔE00 5.06
Hazel
#8E7618
ΔE00 5.46
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7F7722 #222A7F
analogous
#7F4922 #7F7722 #597F22
triadic
#7F7722 #227F77 #77227F
tetradic
#7F7722 #227F49 #222A7F #7F2259
square
#7F7722 #227F49 #222A7F #7F2259
split-complementary
#7F7722 #22597F #49227F
monochromatic
#1E1D08 #4F4A15 #7F7722 #AFA42F #CFC44C
Accessibility & contrast
On white
4.60
#7F7722 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#7F7722 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7F7722
4.60:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7F7722 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7F7722 | 1.00 | 4.60 | 4.56 | 4.60 |
| #FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.60 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#827314
Deuteranopia (green-blind)
#857728
Tritanopia (blue-blind)
#896E66
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7f7722; /* rgb */ color: rgb(127, 119, 34); /* oklch */ color: oklch(56.0% 0.104 103.9);
Tailwind
colors: {
custom: {
50: '#a79e63',
500: '#7f7722',
950: '#000000',
},
}SCSS
$custom: #7f7722; $custom-light: #a79e63; $custom-dark: #000000;
JSON
{
"hex": "#7f7722",
"rgb": {
"r": 127,
"g": 119,
"b": 34
},
"hsl": {
"h": 54.839,
"s": 57.764,
"l": 31.569
},
"oklch": {
"l": 0.56022,
"c": 0.10381,
"h": 103.9
},
"luminance": 0.17821
}Semantic roles & 50–950 ramp
primary
#7F7722
secondary
#4B54B2
accent
#54E147
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E06
muted
#7F7E7A