#7C7D1D#7C7D1D
#7C7D1D is a mid, moderate yellow. Relative luminance 0.190; OKLCH L 57.1% C 0.114 H 110.1°. Best body text is #000000 at 4.81:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7D1D |
|---|---|
| RGB | rgb(124, 125, 29) |
| HSL | hsl(61, 62%, 30%) |
| HSV | hsv(61, 77%, 49%) |
| CMYK | cmyk(0.8%, 0%, 76.8%, 51%) |
| CIE-LAB | lab(50.74, -12.34, 48.57) |
| CIE-LCH | lch(50.74, 50.11, 104.25°) |
| OKLab | oklab(57.11% -0.0391 0.1067) |
| OKLCH | oklch(57.11% 0.114 110.1) |
| XYZ | xyz(15.8681, 19.0415, 4.0017) |
| Luminance | 0.1904 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 2.72
Shit Green
#758000
ΔE00 3.21
Poop Green
#6F7C00
ΔE00 3.72
Olive (survey)
#6E750E
ΔE00 3.98
Murky Green
#6C7A0E
ΔE00 4.18
Swamp Green
#748500
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7D1D #1E1D7D
analogous
#7D4E1D #7C7D1D #4C7D1D
triadic
#7C7D1D #1D7C7D #7D1D7C
tetradic
#7C7D1D #1D7D4E #1E1D7D #7D1D4C
square
#7C7D1D #1D7D4E #1E1D7D #7D1D4C
split-complementary
#7C7D1D #1D4C7D #4E1D7D
monochromatic
#191A06 #4B4B11 #7C7D1D #ADAF29 #D1D341
Accessibility & contrast
On white
4.37
#7C7D1D on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
4.81
#7C7D1D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7D1D
4.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7D1D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7D1D | 1.00 | 4.37 | 4.81 | 4.81 |
| #FFFFFF | 4.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#877707
Deuteranopia (green-blind)
#887A25
Tritanopia (blue-blind)
#85756B
Achromatopsia (no color)
#797979
Design tokens & code
CSS
--color: #7c7d1d; /* rgb */ color: rgb(124, 125, 29); /* oklch */ color: oklch(57.1% 0.114 110.1);
Tailwind
colors: {
custom: {
50: '#a5a261',
500: '#7c7d1d',
950: '#000000',
},
}SCSS
$custom: #7c7d1d; $custom-light: #a5a261; $custom-dark: #000000;
JSON
{
"hex": "#7c7d1d",
"rgb": {
"r": 124,
"g": 125,
"b": 29
},
"hsl": {
"h": 60.625,
"s": 62.338,
"l": 30.196
},
"oklch": {
"l": 0.57108,
"c": 0.11365,
"h": 110.1
},
"luminance": 0.19041
}Semantic roles & 50–950 ramp
primary
#7C7D1D
secondary
#4645B1
accent
#42E544
background
#FAF9F6
surface
#F4F2EB
border
#CECCC6
text
#100F05
muted
#7F7E7A