#7C701B#7C701B
#7C701B is a mid, moderate yellow. Relative luminance 0.160; OKLCH L 54.1% C 0.102 H 100.9°. Best body text is #FFFFFF at 5.01:1 contrast (WCAG AA passes).
Color values
| HEX | #7C701B |
|---|---|
| RGB | rgb(124, 112, 27) |
| HSL | hsl(53, 64%, 30%) |
| HSV | hsv(53, 78%, 49%) |
| CMYK | cmyk(0%, 9.7%, 78.2%, 51.4%) |
| CIE-LAB | lab(46.91, -5.22, 45.72) |
| CIE-LCH | lch(46.91, 46.02, 96.51°) |
| OKLab | oklab(54.06% -0.0193 0.1003) |
| OKLCH | oklch(54.06% 0.102 100.9) |
| XYZ | xyz(14.3049, 15.9532, 3.3625) |
| Luminance | 0.1595 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 2.14
Brown Green
#706C11
ΔE00 3.40
Browny Green
#6F6C0A
ΔE00 3.77
Hazel
#8E7618
ΔE00 5.21
Brownish Green
#6A6E09
ΔE00 5.51
Olive (survey)
#6E750E
ΔE00 6.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C701B #1B277C
analogous
#7C3F1B #7C701B #587C1B
triadic
#7C701B #1B7C70 #701B7C
tetradic
#7C701B #1B7C3F #1B277C #7C1B58
square
#7C701B #1B7C3F #1B277C #7C1B58
split-complementary
#7C701B #1B587C #3F1B7C
monochromatic
#191705 #4A4310 #7C701B #AE9D26 #D5C23D
Accessibility & contrast
On white
5.01
#7C701B on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.19
#7C701B on #000000
AA ✗AA large ✓AAA ✗
Best text color
#FFFFFF on #7C701B
5.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C701B | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C701B | 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)
#7B6D0A
Deuteranopia (green-blind)
#7F7121
Tritanopia (blue-blind)
#866760
Achromatopsia (no color)
#6F6F6F
Design tokens & code
CSS
--color: #7c701b; /* rgb */ color: rgb(124, 112, 27); /* oklch */ color: oklch(54.1% 0.102 100.9);
Tailwind
colors: {
custom: {
50: '#a5985f',
500: '#7c701b',
950: '#000000',
},
}SCSS
$custom: #7c701b; $custom-light: #a5985f; $custom-dark: #000000;
JSON
{
"hex": "#7c701b",
"rgb": {
"r": 124,
"g": 112,
"b": 27
},
"hsl": {
"h": 52.577,
"s": 64.238,
"l": 29.608
},
"oklch": {
"l": 0.54058,
"c": 0.10211,
"h": 100.9
},
"luminance": 0.15953
}Semantic roles & 50–950 ramp
primary
#7C701B
secondary
#4350B0
accent
#55E741
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100D05
muted
#7F7E79