#7C702E#7C702E
#7C702E is a mid, moderate yellow. Relative luminance 0.161; OKLCH L 54.2% C 0.087 H 99.1°. Best body text is #FFFFFF at 4.98:1 contrast (WCAG AA passes).
Color values
| HEX | #7C702E |
|---|---|
| RGB | rgb(124, 112, 46) |
| HSL | hsl(51, 46%, 33%) |
| HSV | hsv(51, 63%, 49%) |
| CMYK | cmyk(0%, 9.7%, 62.9%, 51.4%) |
| CIE-LAB | lab(47.07, -4.07, 37.52) |
| CIE-LCH | lch(47.07, 37.73, 96.19°) |
| OKLab | oklab(54.23% -0.0138 0.0863) |
| OKLCH | oklch(54.23% 0.087 99.1) |
| XYZ | xyz(14.6001, 16.0713, 4.9173) |
| Luminance | 0.1607 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Brown Green
#706C11
ΔE00 4.81
Ugly Brown
#7D7103
ΔE00 4.98
Browny Green
#6F6C0A
ΔE00 5.38
Hazel
#8E7618
ΔE00 6.31
Greenish Brown
#696112
ΔE00 6.40
Olive Drab
#6F7632
ΔE00 6.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C702E #2E3A7C
analogous
#7C492E #7C702E #617C2E
triadic
#7C702E #2E7C70 #702E7C
tetradic
#7C702E #2E7C49 #2E3A7C #7C2E61
square
#7C702E #2E7C49 #2E3A7C #7C2E61
split-complementary
#7C702E #2E617C #492E7C
monochromatic
#231F0D #4F481D #7C702E #A9983F #C4B560
Accessibility & contrast
On white
4.98
#7C702E on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.21
#7C702E on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C702E
4.98:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C702E | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C702E | 1.00 | 4.98 | 4.21 | 4.98 |
| #FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.21 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.98 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7A6D27
Deuteranopia (green-blind)
#7E7231
Tritanopia (blue-blind)
#856862
Achromatopsia (no color)
#707070
Design tokens & code
CSS
--color: #7c702e; /* rgb */ color: rgb(124, 112, 46); /* oklch */ color: oklch(54.2% 0.087 99.1);
Tailwind
colors: {
custom: {
50: '#a4986a',
500: '#7c702e',
950: '#000000',
},
}SCSS
$custom: #7c702e; $custom-light: #a4986a; $custom-dark: #000000;
JSON
{
"hex": "#7c702e",
"rgb": {
"r": 124,
"g": 112,
"b": 46
},
"hsl": {
"h": 50.769,
"s": 45.882,
"l": 33.333
},
"oklch": {
"l": 0.54231,
"c": 0.08741,
"h": 99.1
},
"luminance": 0.16071
}Semantic roles & 50–950 ramp
primary
#7C702E
secondary
#5B67AB
accent
#66D652
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#0F0D06
muted
#7F7E7A