#7C7918#7C7918
#7C7918 is a mid, moderate yellow. Relative luminance 0.180; OKLCH L 56.1% C 0.112 H 107.7°. Best body text is #000000 at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7C7918 |
|---|---|
| RGB | rgb(124, 121, 24) |
| HSL | hsl(58, 68%, 29%) |
| HSV | hsv(58, 81%, 49%) |
| CMYK | cmyk(0%, 2.4%, 80.6%, 51.4%) |
| CIE-LAB | lab(49.53, -10.37, 49.17) |
| CIE-LCH | lch(49.53, 50.25, 101.91°) |
| OKLab | oklab(56.13% -0.0341 0.107) |
| OKLCH | oklch(56.13% 0.112 107.7) |
| XYZ | xyz(15.3150, 18.0263, 3.5367) |
| Luminance | 0.1803 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive
#808000
ΔE00 3.32
Olive (survey)
#6E750E
ΔE00 3.74
Ugly Brown
#7D7103
ΔE00 3.96
Shit Green
#758000
ΔE00 4.44
Poop Green
#6F7C00
ΔE00 4.54
Murky Green
#6C7A0E
ΔE00 4.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C7918 #181B7C
analogous
#7C4718 #7C7918 #4D7C18
triadic
#7C7918 #187C79 #79187C
tetradic
#7C7918 #187C47 #181B7C #7C184D
square
#7C7918 #187C47 #181B7C #7C184D
split-complementary
#7C7918 #184D7C #47187C
monochromatic
#1A1905 #49470E #7C7918 #AFAB22 #D8D336
Accessibility & contrast
On white
4.56
#7C7918 on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.61
#7C7918 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7C7918
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C7918 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7C7918 | 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)
#847400
Deuteranopia (green-blind)
#867720
Tritanopia (blue-blind)
#867067
Achromatopsia (no color)
#767676
Design tokens & code
CSS
--color: #7c7918; /* rgb */ color: rgb(124, 121, 24); /* oklch */ color: oklch(56.1% 0.112 107.7);
Tailwind
colors: {
custom: {
50: '#a59f5e',
500: '#7c7918',
950: '#000000',
},
}SCSS
$custom: #7c7918; $custom-light: #a59f5e; $custom-dark: #000000;
JSON
{
"hex": "#7c7918",
"rgb": {
"r": 124,
"g": 121,
"b": 24
},
"hsl": {
"h": 58.2,
"s": 67.568,
"l": 29.02
},
"oklch": {
"l": 0.56134,
"c": 0.11229,
"h": 107.7
},
"luminance": 0.18026
}Semantic roles & 50–950 ramp
primary
#7C7918
secondary
#3F43B1
accent
#43EA3D
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79