#7C701F#7C701F
#7C701F is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.1% C 0.100 H 100.6°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7C701F |
|---|---|
| RGB | rgb(124, 112, 31) |
| HSL | hsl(52, 60%, 30%) |
| HSV | hsv(52, 75%, 49%) |
| CMYK | cmyk(0%, 9.7%, 75%, 51.4%) |
| CIE-LAB | lab(46.94, -5.02, 44.19) |
| CIE-LCH | lch(46.94, 44.47, 96.48°) |
| OKLab | oklab(54.09% -0.0183 0.0978) |
| OKLCH | oklch(54.09% 0.1 100.6) |
| XYZ | xyz(14.3543, 15.9730, 3.6231) |
| Luminance | 0.1597 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.64
Brown Green
#706C11
ΔE00 3.51
Browny Green
#6F6C0A
ΔE00 3.94
Hazel
#8E7618
ΔE00 5.32
Brownish Green
#6A6E09
ΔE00 5.63
Greenish Brown
#696112
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C701F #1F2B7C
analogous
#7C411F #7C701F #597C1F
triadic
#7C701F #1F7C70 #701F7C
tetradic
#7C701F #1F7C41 #1F2B7C #7C1F59
square
#7C701F #1F7C41 #1F2B7C #7C1F59
split-complementary
#7C701F #1F597C #411F7C
monochromatic
#1A1807 #4B4413 #7C701F #AD9C2B #D0BE45
Accessibility & contrast
On white
5.01
#7C701F on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#7C701F on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C701F
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C701F | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C701F | 1.00 | 5.01 | 4.19 | 5.01 |
| #FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.19 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 5.01 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#7B6D12
Deuteranopia (green-blind)
#7E7124
Tritanopia (blue-blind)
#866860
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7c701f; /* rgb */ color: rgb(124, 112, 31); /* oklch */ color: oklch(54.1% 0.100 100.6);
Tailwind
colors: {
custom: {
50: '#a59861',
500: '#7c701f',
950: '#000000',
},
}SCSS
$custom: #7c701f; $custom-light: #a59861; $custom-dark: #000000;
JSON
{
"hex": "#7c701f",
"rgb": {
"r": 124,
"g": 112,
"b": 31
},
"hsl": {
"h": 52.258,
"s": 60,
"l": 30.392
},
"oklch": {
"l": 0.54087,
"c": 0.09953,
"h": 100.6
},
"luminance": 0.15972
}Semantic roles & 50–950 ramp
primary
#7C701F
secondary
#4855AF
accent
#59E345
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100D05
muted
#7F7E79