#7C7A15#7C7A15
#7C7A15 is a mid, moderate yellow. Relative luminance 0.183; OKLCH L 56.4% C 0.115 H 108.4°. Best body text is #000000 at 4.65:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7A15 |
|---|---|
| RGB | rgb(124, 122, 21) |
| HSL | hsl(59, 71%, 28%) |
| HSV | hsv(59, 83%, 49%) |
| CMYK | cmyk(0%, 1.6%, 83.1%, 51.4%) |
| CIE-LAB | lab(49.81, -11.03, 50.35) |
| CIE-LCH | lch(49.81, 51.54, 102.36°) |
| OKLab | oklab(56.35% -0.0362 0.1089) |
| OKLCH | oklch(56.35% 0.115 108.4) |
| XYZ | xyz(15.4077, 18.2588, 3.4220) |
| Luminance | 0.1826 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.81
Olive (survey)
#6E750E
ΔE00 3.75
Shit Green
#758000
ΔE00 3.96
Poop Green
#6F7C00
ΔE00 4.20
Ugly Brown
#7D7103
ΔE00 4.29
Murky Green
#6C7A0E
ΔE00 4.67
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7A15 #15177C
analogous
#7C4615 #7C7A15 #4A7C15
triadic
#7C7A15 #157C7A #7A157C
tetradic
#7C7A15 #157C46 #15177C #7C154A
square
#7C7A15 #157C46 #15177C #7C154A
split-complementary
#7C7A15 #154A7C #46157C
monochromatic
#1A1A04 #48470C #7C7A15 #B0AD1E #DCD930
Accessibility & contrast
On white
4.51
#7C7A15 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.65
#7C7A15 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7A15
4.65:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7A15 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7A15 | 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)
#86781E
Tritanopia (blue-blind)
#867168
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7c7a15; /* rgb */ color: rgb(124, 122, 21); /* oklch */ color: oklch(56.4% 0.115 108.4);
Tailwind
colors: {
custom: {
50: '#a5a05d',
500: '#7c7a15',
950: '#000000',
},
}SCSS
$custom: #7c7a15; $custom-light: #a5a05d; $custom-dark: #000000;
JSON
{
"hex": "#7c7a15",
"rgb": {
"r": 124,
"g": 122,
"b": 21
},
"hsl": {
"h": 58.835,
"s": 71.034,
"l": 28.431
},
"oklch": {
"l": 0.56354,
"c": 0.11479,
"h": 108.4
},
"luminance": 0.18258
}Semantic roles & 50–950 ramp
primary
#7C7A15
secondary
#3C3EB1
accent
#3EEE3A
background
#FAF9F5
surface
#F4F2E9
border
#CECCC5
text
#100E05
muted
#7F7E79