#7C791D#7C791D
#7C791D is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.2% C 0.109 H 107.5°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7C791D |
|---|---|
| RGB | rgb(124, 121, 29) |
| HSL | hsl(58, 62%, 30%) |
| HSV | hsv(58, 77%, 49%) |
| CMYK | cmyk(0%, 2.4%, 76.6%, 51.4%) |
| CIE-LAB | lab(49.56, -10.15, 47.46) |
| CIE-LCH | lch(49.56, 48.53, 102.07°) |
| OKLab | oklab(56.17% -0.033 0.1044) |
| OKLCH | oklch(56.17% 0.109 107.5) |
| XYZ | xyz(15.3719, 18.0491, 3.8362) |
| Luminance | 0.1805 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.67
Olive (survey)
#6E750E
ΔE00 3.77
Ugly Brown
#7D7103
ΔE00 4.15
Shit Green
#758000
ΔE00 4.64
Poop Green
#6F7C00
ΔE00 4.69
Murky Green
#6C7A0E
ΔE00 4.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C791D #1D207C
analogous
#7C491D #7C791D #507C1D
triadic
#7C791D #1D7C79 #791D7C
tetradic
#7C791D #1D7C49 #1D207C #7C1D50
square
#7C791D #1D7C49 #1D207C #7C1D50
split-complementary
#7C791D #1D507C #491D7C
monochromatic
#191806 #4A4911 #7C791D #AEA929 #D3CE41
Accessibility & contrast
On white
4.56
#7C791D on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#7C791D on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C791D
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C791D | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C791D | 1.00 | 4.56 | 4.61 | 4.61 |
| #FFFFFF | 4.56 | 1.00 | 21.00 | 21.00 |
| #000000 | 4.61 | 21.00 | 1.00 | 1.00 |
| ##000000 | 4.61 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#84740A
Deuteranopia (green-blind)
#857724
Tritanopia (blue-blind)
#857167
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7c791d; /* rgb */ color: rgb(124, 121, 29); /* oklch */ color: oklch(56.2% 0.109 107.5);
Tailwind
colors: {
custom: {
50: '#a59f61',
500: '#7c791d',
950: '#000000',
},
}SCSS
$custom: #7c791d; $custom-light: #a59f61; $custom-dark: #000000;
JSON
{
"hex": "#7c791d",
"rgb": {
"r": 124,
"g": 121,
"b": 29
},
"hsl": {
"h": 58.105,
"s": 62.092,
"l": 30
},
"oklch": {
"l": 0.56165,
"c": 0.10946,
"h": 107.5
},
"luminance": 0.18049
}Semantic roles & 50–950 ramp
primary
#7C791D
secondary
#4549B0
accent
#48E543
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79