#7A8519#7A8519
#7A8519 is a mid, vivid yellow. Relative luminance 0.210; OKLCH L 58.8% C 0.125 H 115.6°. Best body text is #000000 at 5.20:1 contrast (WCAG AA passes).
Color values
| HEX | #7A8519 |
|---|---|
| RGB | rgb(122, 133, 25) |
| HSL | hsl(66, 68%, 31%) |
| HSV | hsv(66, 81%, 52%) |
| CMYK | cmyk(8.3%, 0%, 81.2%, 47.8%) |
| CIE-LAB | lab(52.93, -17.69, 51.83) |
| CIE-LCH | lch(52.93, 54.77, 108.84°) |
| OKLab | oklab(58.82% -0.0542 0.113) |
| OKLCH | oklch(58.82% 0.125 115.6) |
| XYZ | xyz(16.5895, 20.9831, 4.0957) |
| Luminance | 0.2098 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Swamp Green
#748500
ΔE00 1.88
Shit Green
#758000
ΔE00 2.27
Poop Green
#6F7C00
ΔE00 3.74
Olive
#808000
ΔE00 3.77
Murky Green
#6C7A0E
ΔE00 4.57
Dark Yellow Green
#728F02
ΔE00 4.80
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A8519 #241985
analogous
#855A19 #7A8519 #448519
triadic
#7A8519 #197A85 #85197A
tetradic
#7A8519 #19855A #241985 #851944
square
#7A8519 #19855A #241985 #851944
split-complementary
#7A8519 #194485 #5A1985
monochromatic
#1B1E06 #4B510F #7A8519 #A9B923 #CBDB3E
Accessibility & contrast
On white
4.04
#7A8519 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.20
#7A8519 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A8519
5.20:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A8519 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A8519 | 1.00 | 4.04 | 5.20 | 5.20 |
| #FFFFFF | 4.04 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.20 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.20 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8F7E00
Deuteranopia (green-blind)
#8E7F23
Tritanopia (blue-blind)
#827D71
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #7a8519; /* rgb */ color: rgb(122, 133, 25); /* oklch */ color: oklch(58.8% 0.125 115.6);
Tailwind
colors: {
custom: {
50: '#a4a861',
500: '#7a8519',
950: '#000000',
},
}SCSS
$custom: #7a8519; $custom-light: #a4a861; $custom-dark: #000000;
JSON
{
"hex": "#7a8519",
"rgb": {
"r": 122,
"g": 133,
"b": 25
},
"hsl": {
"h": 66.111,
"s": 68.354,
"l": 30.98
},
"oklch": {
"l": 0.58819,
"c": 0.1253,
"h": 115.6
},
"luminance": 0.20983
}Semantic roles & 50–950 ramp
primary
#7A8519
secondary
#4D41B9
accent
#3DEB4E
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A