#7A8419#7A8419
#7A8419 is a mid, vivid yellow. Relative luminance 0.207; OKLCH L 58.6% C 0.124 H 115.1°. Best body text is #000000 at 5.14:1 contrast (WCAG AA passes).
Color values
| HEX | #7A8419 |
|---|---|
| RGB | rgb(122, 132, 25) |
| HSL | hsl(66, 68%, 31%) |
| HSV | hsv(66, 81%, 52%) |
| CMYK | cmyk(7.6%, 0%, 81.1%, 48.2%) |
| CIE-LAB | lab(52.63, -17.16, 51.57) |
| CIE-LCH | lch(52.63, 54.35, 108.41°) |
| OKLab | oklab(58.58% -0.0527 0.1124) |
| OKLCH | oklch(58.58% 0.124 115.1) |
| XYZ | xyz(16.4533, 20.7106, 4.0503) |
| Luminance | 0.2071 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Shit Green
#758000
ΔE00 2.05
Swamp Green
#748500
ΔE00 2.05
Poop Green
#6F7C00
ΔE00 3.49
Olive
#808000
ΔE00 3.50
Murky Green
#6C7A0E
ΔE00 4.32
Olive Green
#677A04
ΔE00 5.08
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#7A8419 #231984
analogous
#845819 #7A8419 #458419
triadic
#7A8419 #197A84 #84197A
tetradic
#7A8419 #198458 #231984 #841945
square
#7A8419 #198458 #231984 #841945
split-complementary
#7A8419 #194584 #581984
monochromatic
#1B1D06 #4A510F #7A8419 #AAB723 #CCDA3D
Accessibility & contrast
On white
4.08
#7A8419 on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
5.14
#7A8419 on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #7A8419
5.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##7A8419 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##7A8419 | 1.00 | 4.08 | 5.14 | 5.14 |
| #FFFFFF | 4.08 | 1.00 | 21.00 | 21.00 |
| #000000 | 5.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 5.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#8E7D00
Deuteranopia (green-blind)
#8D7E23
Tritanopia (blue-blind)
#827C70
Achromatopsia (no color)
#7E7E7E
Design tokens & code
CSS
--color: #7a8419; /* rgb */ color: rgb(122, 132, 25); /* oklch */ color: oklch(58.6% 0.124 115.1);
Tailwind
colors: {
custom: {
50: '#a4a760',
500: '#7a8419',
950: '#000000',
},
}SCSS
$custom: #7a8419; $custom-light: #a4a760; $custom-dark: #000000;
JSON
{
"hex": "#7a8419",
"rgb": {
"r": 122,
"g": 132,
"b": 25
},
"hsl": {
"h": 65.607,
"s": 68.153,
"l": 30.784
},
"oklch": {
"l": 0.58578,
"c": 0.12416,
"h": 115.1
},
"luminance": 0.2071
}Semantic roles & 50–950 ramp
primary
#7A8419
secondary
#4C41B8
accent
#3DEB4D
background
#FAFAF6
surface
#F4F4EB
border
#CECEC6
text
#100F05
muted
#7F7F7A