#7C7220#7C7220
#7C7220 is a mid, moderate yellow. Relative luminance 0.164; OKLCH L 54.6% C 0.101 H 102.2°. Best body text is #FFFFFF at 4.90:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7220 |
|---|---|
| RGB | rgb(124, 114, 32) |
| HSL | hsl(53, 59%, 31%) |
| HSV | hsv(53, 74%, 49%) |
| CMYK | cmyk(0%, 8.1%, 74.2%, 51.4%) |
| CIE-LAB | lab(47.53, -6.10, 44.35) |
| CIE-LCH | lch(47.53, 44.77, 97.83°) |
| OKLab | oklab(54.56% -0.0213 0.0984) |
| OKLCH | oklch(54.56% 0.101 102.2) |
| XYZ | xyz(14.5908, 16.4246, 3.7679) |
| Luminance | 0.1642 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.65
Brown Green
#706C11
ΔE00 3.47
Browny Green
#6F6C0A
ΔE00 3.85
Brownish Green
#6A6E09
ΔE00 5.26
Olive (survey)
#6E750E
ΔE00 5.44
Hazel
#8E7618
ΔE00 5.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7220 #202A7C
analogous
#7C4420 #7C7220 #587C20
triadic
#7C7220 #207C72 #72207C
tetradic
#7C7220 #207C44 #202A7C #7C2058
square
#7C7220 #207C44 #202A7C #7C2058
split-complementary
#7C7220 #20587C #44207C
monochromatic
#1B1907 #4B4513 #7C7220 #AD9F2D #CFC147
Accessibility & contrast
On white
4.90
#7C7220 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.28
#7C7220 on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C7220
4.90:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7220 | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C7220 | 1.00 | 4.90 | 4.28 | 4.90 |
| #FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.28 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.90 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7D6E13
Deuteranopia (green-blind)
#807325
Tritanopia (blue-blind)
#866A62
Achromatopsia (no color)
#717171
Design tokens & code
CSS
--color: #7c7220; /* rgb */ color: rgb(124, 114, 32); /* oklch */ color: oklch(54.6% 0.101 102.2);
Tailwind
colors: {
custom: {
50: '#a59a61',
500: '#7c7220',
950: '#000000',
},
}SCSS
$custom: #7c7220; $custom-light: #a59a61; $custom-dark: #000000;
JSON
{
"hex": "#7c7220",
"rgb": {
"r": 124,
"g": 114,
"b": 32
},
"hsl": {
"h": 53.478,
"s": 58.974,
"l": 30.588
},
"oklch": {
"l": 0.54556,
"c": 0.10066,
"h": 102.2
},
"luminance": 0.16424
}Semantic roles & 50–950 ramp
primary
#7C7220
secondary
#4954AF
accent
#57E246
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100E05
muted
#7F7E7A