#7A781A#7A781A
#7A781A is a mid, moderate yellow. Relative luminance 0.176; OKLCH L 55.7% C 0.111 H 108.2°. Best body text is #FFFFFF at 4.64:1 contrast (WCAG AA passes).
Color values
| HEX | #7A781A |
|---|---|
| RGB | rgb(122, 120, 26) |
| HSL | hsl(59, 65%, 29%) |
| HSV | hsv(59, 79%, 48%) |
| CMYK | cmyk(0%, 1.6%, 78.7%, 52.2%) |
| CIE-LAB | lab(49.06, -10.67, 48.01) |
| CIE-LCH | lch(49.06, 49.18, 102.53°) |
| OKLab | oklab(55.72% -0.0346 0.105) |
| OKLCH | oklch(55.72% 0.111 108.2) |
| XYZ | xyz(14.9295, 17.6456, 3.5966) |
| Luminance | 0.1764 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Olive (survey)
#6E750E
ΔE00 3.23
Olive
#808000
ΔE00 3.84
Ugly Brown
#7D7103
ΔE00 4.06
Poop Green
#6F7C00
ΔE00 4.37
Shit Green
#758000
ΔE00 4.51
Brown Green
#706C11
ΔE00 4.52
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A781A #1A1C7A
analogous
#7A481A #7A781A #4C7A1A
triadic
#7A781A #1A7A78 #781A7A
tetradic
#7A781A #1A7A48 #1A1C7A #7A1A4C
square
#7A781A #1A7A48 #1A1C7A #7A1A4C
split-complementary
#7A781A #1A4C7A #481A7A
monochromatic
#191905 #48460F #7A781A #ACAA25 #D5D239
Accessibility & contrast
On white
4.64
#7A781A on #FFFFFF
AA ✓AA large ✓AAA ✗
On black
4.53
#7A781A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#FFFFFF on #7A781A
4.64:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A781A | #FFFFFF | #000000 | ##FFFFFF |
|---|---|---|---|---|
| ##7A781A | 1.00 | 4.64 | 4.53 | 4.64 |
| #FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
| #000000 | 4.53 | 21.00 | 1.00 | 21.00 |
| ##FFFFFF | 4.64 | 1.00 | 21.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#837304
Deuteranopia (green-blind)
#847622
Tritanopia (blue-blind)
#837066
Achromatopsia (no color)
#757575
Design tokens & code
CSS
--color: #7a781a; /* rgb */ color: rgb(122, 120, 26); /* oklch */ color: oklch(55.7% 0.111 108.2);
Tailwind
colors: {
custom: {
50: '#a49e5f',
500: '#7a781a',
950: '#000000',
},
}SCSS
$custom: #7a781a; $custom-light: #a49e5f; $custom-dark: #000000;
JSON
{
"hex": "#7a781a",
"rgb": {
"r": 122,
"g": 120,
"b": 26
},
"hsl": {
"h": 58.75,
"s": 64.865,
"l": 29.02
},
"oklch": {
"l": 0.55723,
"c": 0.11058,
"h": 108.2
},
"luminance": 0.17645
}Semantic roles & 50–950 ramp
primary
#7A781A
secondary
#4144AE
accent
#43E840
background
#FAF9F5
surface
#F4F2EA
border
#CECCC6
text
#100E05
muted
#7F7E79