#7C7B16#7C7B16
#7C7B16 is a mid, moderate yellow. Relative luminance 0.185; OKLCH L 56.6% C 0.115 H 109.0°. Best body text is #000000 at 4.70:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7B16 |
|---|---|
| RGB | rgb(124, 123, 22) |
| HSL | hsl(59, 70%, 29%) |
| HSV | hsv(59, 82%, 49%) |
| CMYK | cmyk(0%, 0.8%, 82.3%, 51.4%) |
| CIE-LAB | lab(50.11, -11.54, 50.31) |
| CIE-LCH | lch(50.11, 51.62, 102.92°) |
| OKLab | oklab(56.6% -0.0375 0.1091) |
| OKLCH | oklch(56.6% 0.115 109) |
| XYZ | xyz(15.5406, 18.5094, 3.5130) |
| Luminance | 0.1851 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.57
Shit Green
#758000
ΔE00 3.60
Olive (survey)
#6E750E
ΔE00 3.77
Poop Green
#6F7C00
ΔE00 3.95
Murky Green
#6C7A0E
ΔE00 4.47
Ugly Brown
#7D7103
ΔE00 4.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7B16 #16177C
analogous
#7C4816 #7C7B16 #4A7C16
triadic
#7C7B16 #167C7B #7B167C
tetradic
#7C7B16 #167C48 #16177C #7C164A
square
#7C7B16 #167C48 #16177C #7C164A
split-complementary
#7C7B16 #164A7C #48167C
monochromatic
#1A1A05 #48470D #7C7B16 #B0AF1F #DBD932
Accessibility & contrast
On white
4.47
#7C7B16 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.70
#7C7B16 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7B16
4.70:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7B16 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7B16 | 1.00 | 4.47 | 4.70 | 4.70 |
| #FFFFFF | 4.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.70 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.70 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#867600
Deuteranopia (green-blind)
#87791F
Tritanopia (blue-blind)
#857269
Achromatopsia (no color)
#777777
Design tokens & code
CSS
--color: #7c7b16; /* rgb */ color: rgb(124, 123, 22); /* oklch */ color: oklch(56.6% 0.115 109.0);
Tailwind
colors: {
custom: {
50: '#a5a05e',
500: '#7c7b16',
950: '#000000',
},
}SCSS
$custom: #7c7b16; $custom-light: #a5a05e; $custom-dark: #000000;
JSON
{
"hex": "#7c7b16",
"rgb": {
"r": 124,
"g": 123,
"b": 22
},
"hsl": {
"h": 59.412,
"s": 69.863,
"l": 28.627
},
"oklch": {
"l": 0.56595,
"c": 0.11533,
"h": 109
},
"luminance": 0.18509
}Semantic roles & 50–950 ramp
primary
#7C7B16
secondary
#3D3EB1
accent
#3DED3B
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79