#7A7040#7A7040
#7A7040 is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.3% C 0.068 H 97.9°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7040 |
|---|---|
| RGB | rgb(122, 112, 64) |
| HSL | hsl(50, 31%, 36%) |
| HSV | hsv(50, 48%, 48%) |
| CMYK | cmyk(0%, 8.2%, 47.5%, 52.2%) |
| CIE-LAB | lab(47.10, -3.32, 27.99) |
| CIE-LCH | lch(47.10, 28.19, 96.76°) |
| OKLab | oklab(54.28% -0.0093 0.0675) |
| OKLCH | oklch(54.28% 0.068 97.9) |
| XYZ | xyz(14.7460, 16.0966, 7.1797) |
| Luminance | 0.1610 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Grey Brown
#7F7053
ΔE00 6.39
Olive Drab
#6F7632
ΔE00 6.93
Greyish Brown
#7A6A4F
ΔE00 7.43
Brown Green
#706C11
ΔE00 7.79
Dirt
#8A6E45
ΔE00 7.80
Dull Brown
#876E4B
ΔE00 7.92
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7040 #404A7A
analogous
#7A5340 #7A7040 #677A40
triadic
#7A7040 #407A70 #70407A
tetradic
#7A7040 #407A53 #404A7A #7A4067
square
#7A7040 #407A53 #404A7A #7A4067
split-complementary
#7A7040 #40677A #53407A
monochromatic
#2A2616 #524B2B #7A7040 #A29555 #BAAF7B
Accessibility & contrast
On white
4.98
#7A7040 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.22
#7A7040 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A7040
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7040 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A7040 | 1.00 | 4.98 | 4.22 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.22 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#796E3C
Deuteranopia (green-blind)
#7B7142
Tritanopia (blue-blind)
#826A64
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7a7040; /* rgb */ color: rgb(122, 112, 64); /* oklch */ color: oklch(54.3% 0.068 97.9);
Tailwind
colors: {
custom: {
50: '#a29876',
500: '#7a7040',
950: '#000000',
},
}SCSS
$custom: #7a7040; $custom-light: #a29876; $custom-dark: #000000;
JSON
{
"hex": "#7a7040",
"rgb": {
"r": 122,
"g": 112,
"b": 64
},
"hsl": {
"h": 49.655,
"s": 31.183,
"l": 36.471
},
"oklch": {
"l": 0.54284,
"c": 0.06814,
"h": 97.9
},
"luminance": 0.16096
}Semantic roles & 50–950 ramp
primary
#7A7040
secondary
#727AA4
accent
#72C760
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0D08
muted
#7F7E7B