#7C7A14#7C7A14
#7C7A14 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.3% C 0.115 H 108.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7A14 |
|---|---|
| RGB | rgb(124, 122, 20) |
| HSL | hsl(59, 72%, 28%) |
| HSV | hsv(59, 84%, 49%) |
| CMYK | cmyk(0%, 1.6%, 83.9%, 51.4%) |
| CIE-LAB | lab(49.80, -11.06, 50.64) |
| CIE-LCH | lch(49.80, 51.83, 102.33°) |
| OKLab | oklab(56.35% -0.0363 0.1094) |
| OKLCH | oklch(56.35% 0.115 108.4) |
| XYZ | xyz(15.3986, 18.2552, 3.3742) |
| Luminance | 0.1825 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.76
Olive (survey)
#6E750E
ΔE00 3.76
Shit Green
#758000
ΔE00 3.94
Poop Green
#6F7C00
ΔE00 4.19
Ugly Brown
#7D7103
ΔE00 4.27
Murky Green
#6C7A0E
ΔE00 4.68
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7A14 #14167C
analogous
#7C4614 #7C7A14 #4A7C14
triadic
#7C7A14 #147C7A #7A147C
tetradic
#7C7A14 #147C46 #14167C #7C144A
square
#7C7A14 #147C46 #14167C #7C144A
split-complementary
#7C7A14 #144A7C #46147C
monochromatic
#1A1A04 #47460B #7C7A14 #B1AE1D #DDDA2D
Accessibility & contrast
On white
4.52
#7C7A14 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#7C7A14 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7A14
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7A14 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7A14 | 1.00 | 4.52 | 4.65 | 4.65 |
| #FFFFFF | 4.52 | 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)
#86781E
Tritanopia (blue-blind)
#867168
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7c7a14; /* rgb */ color: rgb(124, 122, 20); /* oklch */ color: oklch(56.3% 0.115 108.4);
Tailwind
colors: {
custom: {
50: '#a5a05d',
500: '#7c7a14',
950: '#000000',
},
}SCSS
$custom: #7c7a14; $custom-light: #a5a05d; $custom-dark: #000000;
JSON
{
"hex": "#7c7a14",
"rgb": {
"r": 124,
"g": 122,
"b": 20
},
"hsl": {
"h": 58.846,
"s": 72.222,
"l": 28.235
},
"oklch": {
"l": 0.56349,
"c": 0.11525,
"h": 108.4
},
"luminance": 0.18255
}Semantic roles & 50–950 ramp
primary
#7C7A14
secondary
#3A3DB2
accent
#3CEF39
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79