#7C781A#7C781A
#7C781A is a mid, moderate yellow. Relative luminance 0.178; OKLCH L 55.9% C 0.110 H 106.9°. Best body text is #FFFFFF at 4.61:1 contrast (WCAG AA passes).
Color values
| HEX | #7C781A |
|---|---|
| RGB | rgb(124, 120, 26) |
| HSL | hsl(58, 65%, 29%) |
| HSV | hsv(58, 79%, 49%) |
| CMYK | cmyk(0%, 3.2%, 79%, 51.4%) |
| CIE-LAB | lab(49.24, -9.74, 48.24) |
| CIE-LCH | lch(49.24, 49.21, 101.41°) |
| OKLab | oklab(55.91% -0.0321 0.1054) |
| OKLCH | oklch(55.91% 0.11 106.9) |
| XYZ | xyz(15.2157, 17.7932, 3.6100) |
| Luminance | 0.1779 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Ugly Brown
#7D7103
ΔE00 3.64
Olive
#808000
ΔE00 3.79
Olive (survey)
#6E750E
ΔE00 3.83
Brown Green
#706C11
ΔE00 4.63
Browny Green
#6F6C0A
ΔE00 4.70
Shit Green
#758000
ΔE00 4.91
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7C781A #1A1E7C
analogous
#7C471A #7C781A #4F7C1A
triadic
#7C781A #1A7C78 #781A7C
tetradic
#7C781A #1A7C47 #1A1E7C #7C1A4F
square
#7C781A #1A7C47 #1A1E7C #7C1A4F
split-complementary
#7C781A #1A4F7C #471A7C
monochromatic
#191805 #49470F #7C781A #AFA925 #D6CF3B
Accessibility & contrast
On white
4.61
#7C781A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.56
#7C781A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7C781A
4.61:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7C781A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7C781A | 1.00 | 4.61 | 4.56 | 4.61 |
| #FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.56 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.61 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837303
Deuteranopia (green-blind)
#857722
Tritanopia (blue-blind)
#867066
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7c781a; /* rgb */ color: rgb(124, 120, 26); /* oklch */ color: oklch(55.9% 0.110 106.9);
Tailwind
colors: {
custom: {
50: '#a59e5f',
500: '#7c781a',
950: '#000000',
},
}SCSS
$custom: #7c781a; $custom-light: #a59e5f; $custom-dark: #000000;
JSON
{
"hex": "#7c781a",
"rgb": {
"r": 124,
"g": 120,
"b": 26
},
"hsl": {
"h": 57.551,
"s": 65.333,
"l": 29.412
},
"oklch": {
"l": 0.55911,
"c": 0.11021,
"h": 106.9
},
"luminance": 0.17793
}Semantic roles & 50–950 ramp
primary
#7C781A
secondary
#4246B0
accent
#46E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79