#7C702A#7C702A
#7C702A is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.2% C 0.091 H 99.6°. Best body text is #FFFFFF at 4.99:1 contrast (WCAG AA passes).
Color values
| HEX | #7C702A |
|---|---|
| RGB | rgb(124, 112, 42) |
| HSL | hsl(51, 49%, 33%) |
| HSV | hsv(51, 66%, 49%) |
| CMYK | cmyk(0%, 9.7%, 66.1%, 51.4%) |
| CIE-LAB | lab(47.03, -4.36, 39.41) |
| CIE-LCH | lch(47.03, 39.65, 96.31°) |
| OKLab | oklab(54.19% -0.0151 0.0897) |
| OKLCH | oklch(54.19% 0.091 99.6) |
| XYZ | xyz(14.5249, 16.0412, 4.5212) |
| Luminance | 0.1604 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 4.29
Brown Green
#706C11
ΔE00 4.32
Browny Green
#6F6C0A
ΔE00 4.87
Hazel
#8E7618
ΔE00 5.95
Greenish Brown
#696112
ΔE00 6.19
Brownish Green
#6A6E09
ΔE00 6.33
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C702A #2A367C
analogous
#7C472A #7C702A #5F7C2A
triadic
#7C702A #2A7C70 #702A7C
tetradic
#7C702A #2A7C47 #2A367C #7C2A5F
square
#7C702A #2A7C47 #2A367C #7C2A5F
split-complementary
#7C702A #2A5F7C #472A7C
monochromatic
#211D0B #4E471B #7C702A #AA9939 #C7B759
Accessibility & contrast
On white
4.99
#7C702A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#7C702A on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C702A
4.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C702A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C702A | 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)
#7B6D22
Deuteranopia (green-blind)
#7E712E
Tritanopia (blue-blind)
#866861
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7c702a; /* rgb */ color: rgb(124, 112, 42); /* oklch */ color: oklch(54.2% 0.091 99.6);
Tailwind
colors: {
custom: {
50: '#a49867',
500: '#7c702a',
950: '#000000',
},
}SCSS
$custom: #7c702a; $custom-light: #a49867; $custom-dark: #000000;
JSON
{
"hex": "#7c702a",
"rgb": {
"r": 124,
"g": 112,
"b": 42
},
"hsl": {
"h": 51.22,
"s": 49.398,
"l": 32.549
},
"oklch": {
"l": 0.54187,
"c": 0.091,
"h": 99.6
},
"luminance": 0.16041
}Semantic roles & 50–950 ramp
primary
#7C702A
secondary
#5562AD
accent
#63D94F
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100D06
muted
#7F7E7A