#7A8219#7A8219
#7A8219 is a mid, vivid yellow. Relative luminance 0.202; OKLCH L 58.1% C 0.122 H 114.1°. Best body text is #000000 at 5.03:1 contrast (WCAG AA passes).
Color values
| HEX | #7A8219 |
|---|---|
| RGB | rgb(122, 130, 25) |
| HSL | hsl(65, 68%, 30%) |
| HSV | hsv(65, 81%, 51%) |
| CMYK | cmyk(6.2%, 0%, 80.8%, 49%) |
| CIE-LAB | lab(52.03, -16.11, 51.03) |
| CIE-LCH | lch(52.03, 53.51, 107.52°) |
| OKLab | oklab(58.1% -0.0498 0.1113) |
| OKLCH | oklch(58.1% 0.122 114.1) |
| XYZ | xyz(16.1846, 20.1734, 3.9608) |
| Luminance | 0.2017 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 1.78
Swamp Green
#748500
ΔE00 2.56
Olive
#808000
ΔE00 3.03
Poop Green
#6F7C00
ΔE00 3.10
Murky Green
#6C7A0E
ΔE00 3.91
Olive Green
#677A04
ΔE00 4.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A8219 #211982
analogous
#825519 #7A8219 #468219
triadic
#7A8219 #197A82 #82197A
tetradic
#7A8219 #198255 #211982 #821946
square
#7A8219 #198255 #211982 #821946
split-complementary
#7A8219 #194682 #551982
monochromatic
#1A1B05 #4A4F0F #7A8219 #AAB523 #CDD93C
Accessibility & contrast
On white
4.17
#7A8219 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.03
#7A8219 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A8219
5.03:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A8219 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A8219 | 1.00 | 4.17 | 5.03 | 5.03 |
| #FFFFFF | 4.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.03 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.03 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8C7B00
Deuteranopia (green-blind)
#8C7D23
Tritanopia (blue-blind)
#837A6F
Achromatopsia (no color)
#7C7C7C
Design tokens & code
CSS
--color: #7a8219; /* rgb */ color: rgb(122, 130, 25); /* oklch */ color: oklch(58.1% 0.122 114.1);
Tailwind
colors: {
custom: {
50: '#a4a660',
500: '#7a8219',
950: '#000000',
},
}SCSS
$custom: #7a8219; $custom-light: #a4a660; $custom-dark: #000000;
JSON
{
"hex": "#7a8219",
"rgb": {
"r": 122,
"g": 130,
"b": 25
},
"hsl": {
"h": 64.571,
"s": 67.742,
"l": 30.392
},
"oklch": {
"l": 0.58098,
"c": 0.1219,
"h": 114.1
},
"luminance": 0.20173
}Semantic roles & 50–950 ramp
primary
#7A8219
secondary
#4A41B6
accent
#3DEB4A
background
#FAFAF5
surface
#F4F4EA
border
#CECEC6
text
#100F05
muted
#7F7F79