#7C7A16#7C7A16
#7C7A16 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.4% C 0.114 H 108.3°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7A16 |
|---|---|
| RGB | rgb(124, 122, 22) |
| HSL | hsl(59, 70%, 29%) |
| HSV | hsv(59, 82%, 49%) |
| CMYK | cmyk(0%, 1.6%, 82.3%, 51.4%) |
| CIE-LAB | lab(49.81, -10.99, 50.05) |
| CIE-LCH | lch(49.81, 51.24, 102.39°) |
| OKLab | oklab(56.36% -0.036 0.1085) |
| OKLCH | oklch(56.36% 0.114 108.3) |
| XYZ | xyz(15.4172, 18.2626, 3.4718) |
| Luminance | 0.1826 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.87
Olive (survey)
#6E750E
ΔE00 3.74
Shit Green
#758000
ΔE00 3.99
Poop Green
#6F7C00
ΔE00 4.21
Ugly Brown
#7D7103
ΔE00 4.31
Murky Green
#6C7A0E
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7A16 #16187C
analogous
#7C4716 #7C7A16 #4B7C16
triadic
#7C7A16 #167C7A #7A167C
tetradic
#7C7A16 #167C47 #16187C #7C164B
square
#7C7A16 #167C47 #16187C #7C164B
split-complementary
#7C7A16 #164B7C #47167C
monochromatic
#1A1A05 #48470D #7C7A16 #B0AD1F #DBD732
Accessibility & contrast
On white
4.51
#7C7A16 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#7C7A16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7A16
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7A16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7A16 | 1.00 | 4.51 | 4.65 | 4.65 |
| #FFFFFF | 4.51 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.65 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.65 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#857500
Deuteranopia (green-blind)
#86781F
Tritanopia (blue-blind)
#867168
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7c7a16; /* rgb */ color: rgb(124, 122, 22); /* oklch */ color: oklch(56.4% 0.114 108.3);
Tailwind
colors: {
custom: {
50: '#a5a05e',
500: '#7c7a16',
950: '#000000',
},
}SCSS
$custom: #7c7a16; $custom-light: #a5a05e; $custom-dark: #000000;
JSON
{
"hex": "#7c7a16",
"rgb": {
"r": 124,
"g": 122,
"b": 22
},
"hsl": {
"h": 58.824,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.56359,
"c": 0.11431,
"h": 108.3
},
"luminance": 0.18262
}Semantic roles & 50–950 ramp
primary
#7C7A16
secondary
#3D3FB1
accent
#3FED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79