#7A7417#7A7417
#7A7417 is a mid, moderate yellow. Relative luminance 0.167; OKLCH L 54.8% C 0.108 H 105.6°. Best body text is #FFFFFF at 4.84:1 contrast (WCAG AA passes).
Color values
| HEX | #7A7417 |
|---|---|
| RGB | rgb(122, 116, 23) |
| HSL | hsl(56, 68%, 28%) |
| HSV | hsv(56, 81%, 48%) |
| CMYK | cmyk(0%, 4.9%, 81.1%, 52.2%) |
| CIE-LAB | lab(47.87, -8.58, 47.94) |
| CIE-LCH | lch(47.87, 48.70, 100.15°) |
| OKLab | oklab(54.77% -0.029 0.1043) |
| OKLCH | oklch(54.77% 0.108 105.6) |
| XYZ | xyz(14.4267, 16.6908, 3.2722) |
| Luminance | 0.1669 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.53
Brown Green
#706C11
ΔE00 3.28
Browny Green
#6F6C0A
ΔE00 3.41
Olive (survey)
#6E750E
ΔE00 3.96
Brownish Green
#6A6E09
ΔE00 4.31
Olive
#808000
ΔE00 5.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A7417 #171D7A
analogous
#7A4217 #7A7417 #4E7A17
triadic
#7A7417 #177A74 #74177A
tetradic
#7A7417 #177A42 #171D7A #7A174E
square
#7A7417 #177A42 #171D7A #7A174E
split-complementary
#7A7417 #174E7A #42177A
monochromatic
#1A1805 #47430D #7A7417 #ADA521 #D9CE33
Accessibility & contrast
On white
4.84
#7A7417 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.34
#7A7417 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7A7417
4.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A7417 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A7417 | 1.00 | 4.84 | 4.34 | 4.84 |
| #FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.34 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.84 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7F6F00
Deuteranopia (green-blind)
#81731F
Tritanopia (blue-blind)
#846C63
Achromatopsia (no color)
#727272
Design tokens & code
CSS
--color: #7a7417; /* rgb */ color: rgb(122, 116, 23); /* oklch */ color: oklch(54.8% 0.108 105.6);
Tailwind
colors: {
custom: {
50: '#a49b5d',
500: '#7a7417',
950: '#000000',
},
}SCSS
$custom: #7a7417; $custom-light: #a49b5d; $custom-dark: #000000;
JSON
{
"hex": "#7a7417",
"rgb": {
"r": 122,
"g": 116,
"b": 23
},
"hsl": {
"h": 56.364,
"s": 68.276,
"l": 28.431
},
"oklch": {
"l": 0.54765,
"c": 0.10823,
"h": 105.6
},
"luminance": 0.1669
}Semantic roles & 50–950 ramp
primary
#7A7417
secondary
#3E45AF
accent
#47EB3D
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79