#7C7A42#7C7A42
#7C7A42 is a mid, moderate yellow. Relative luminance 0.186; OKLCH L 56.8% C 0.077 H 106.8°. Best body text is #000000 at 4.72:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7A42 |
|---|---|
| RGB | rgb(124, 122, 66) |
| HSL | hsl(58, 31%, 37%) |
| HSV | hsv(58, 47%, 49%) |
| CMYK | cmyk(0%, 1.6%, 46.8%, 51.4%) |
| CIE-LAB | lab(50.21, -7.86, 30.79) |
| CIE-LCH | lch(50.21, 31.78, 104.33°) |
| OKLab | oklab(56.81% -0.0223 0.0739) |
| OKLCH | oklch(56.81% 0.077 106.8) |
| XYZ | xyz(16.2554, 18.5979, 7.8867) |
| Luminance | 0.1860 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Drab
#828344
ΔE00 3.54
Olive Drab
#6F7632
ΔE00 4.29
Muddy Green
#657432
ΔE00 6.59
Military Green
#667C3E
ΔE00 7.25
Khaki Green
#728639
ΔE00 7.43
Olive (survey)
#6E750E
ΔE00 7.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7A42 #42447C
analogous
#7C5D42 #7C7A42 #617C42
triadic
#7C7A42 #427C7A #7A427C
tetradic
#7C7A42 #427C5D #42447C #7C4261
square
#7C7A42 #427C5D #42447C #7C4261
split-complementary
#7C7A42 #42617C #5D427C
monochromatic
#2C2B17 #54532D #7C7A42 #A4A157 #BAB87E
Accessibility & contrast
On white
4.45
#7C7A42 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.72
#7C7A42 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7A42
4.72:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7A42 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7A42 | 1.00 | 4.45 | 4.72 | 4.72 |
| #FFFFFF | 4.45 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.72 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.72 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#82763D
Deuteranopia (green-blind)
#847945
Tritanopia (blue-blind)
#83746D
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7c7a42; /* rgb */ color: rgb(124, 122, 66); /* oklch */ color: oklch(56.8% 0.077 106.8);
Tailwind
colors: {
custom: {
50: '#a3a077',
500: '#7c7a42',
950: '#000000',
},
}SCSS
$custom: #7c7a42; $custom-light: #a3a077; $custom-dark: #000000;
JSON
{
"hex": "#7c7a42",
"rgb": {
"r": 124,
"g": 122,
"b": 66
},
"hsl": {
"h": 57.931,
"s": 30.526,
"l": 37.255
},
"oklch": {
"l": 0.56807,
"c": 0.07716,
"h": 106.8
},
"luminance": 0.18598
}Semantic roles & 50–950 ramp
primary
#7C7A42
secondary
#7576A5
accent
#65C761
background
#FAF9F7
surface
#F4F2ED
border
#CECCC8
text
#0F0E09
muted
#7F7E7B