#7A711F#7A711F
#7A711F is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.1% C 0.101 H 102.9°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7A711F |
|---|---|
| RGB | rgb(122, 113, 31) |
| HSL | hsl(54, 59%, 30%) |
| HSV | hsv(54, 75%, 48%) |
| CMYK | cmyk(0%, 7.4%, 74.6%, 52.2%) |
| CIE-LAB | lab(47.04, -6.53, 44.22) |
| CIE-LCH | lch(47.04, 44.70, 98.40°) |
| OKLab | oklab(54.12% -0.0225 0.098) |
| OKLCH | oklch(54.12% 0.101 102.9) |
| XYZ | xyz(14.1791, 16.0474, 3.6466) |
| Luminance | 0.1605 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.77
Brown Green
#706C11
ΔE00 2.92
Browny Green
#6F6C0A
ΔE00 3.34
Brownish Green
#6A6E09
ΔE00 4.77
Olive (survey)
#6E750E
ΔE00 5.14
Hazel
#8E7618
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A711F #1F287A
analogous
#7A441F #7A711F #557A1F
triadic
#7A711F #1F7A71 #711F7A
tetradic
#7A711F #1F7A44 #1F287A #7A1F55
square
#7A711F #1F7A44 #1F287A #7A1F55
split-complementary
#7A711F #1F557A #441F7A
monochromatic
#181706 #494413 #7A711F #AB9E2B #CFC244
Accessibility & contrast
On white
4.99
#7A711F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#7A711F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A711F
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A711F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A711F | 1.00 | 4.99 | 4.21 | 4.99 |
| #FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.99 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7C6D11
Deuteranopia (green-blind)
#7F7124
Tritanopia (blue-blind)
#846961
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7a711f; /* rgb */ color: rgb(122, 113, 31); /* oklch */ color: oklch(54.1% 0.101 102.9);
Tailwind
colors: {
custom: {
50: '#a39961',
500: '#7a711f',
950: '#000000',
},
}SCSS
$custom: #7a711f; $custom-light: #a39961; $custom-dark: #000000;
JSON
{
"hex": "#7a711f",
"rgb": {
"r": 122,
"g": 113,
"b": 31
},
"hsl": {
"h": 54.066,
"s": 59.477,
"l": 30
},
"oklch": {
"l": 0.54119,
"c": 0.10052,
"h": 102.9
},
"luminance": 0.16047
}Semantic roles & 50–950 ramp
primary
#7A711F
secondary
#4752AD
accent
#55E345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79