#A7A926#A7A926
#A7A926 is a light, vivid yellow. Relative luminance 0.367; OKLCH L 71.1% C 0.144 H 110.5°. Best body text is #000000 at 8.35:1 contrast (WCAG AA passes).
Color values
| HEX | #A7A926 |
|---|---|
| RGB | rgb(167, 169, 38) |
| HSL | hsl(61, 63%, 41%) |
| HSV | hsv(61, 78%, 66%) |
| CMYK | cmyk(1.2%, 0%, 77.5%, 33.7%) |
| CIE-LAB | lab(67.08, -15.86, 61.92) |
| CIE-LCH | lch(67.08, 63.92, 104.37°) |
| OKLab | oklab(71.07% -0.0505 0.1351) |
| OKLCH | oklch(71.07% 0.144 110.5) |
| XYZ | xyz(30.4753, 36.7322, 7.3180) |
| Luminance | 0.3673 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.69
Puke
#A5A502
ΔE00 2.08
Pea Soup Green
#94A617
ΔE00 4.17
Puke Green
#9AAE07
ΔE00 4.18
Mustard Green
#A8B504
ΔE00 4.20
Barf Green
#94AC02
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7A926 #2826A9
analogous
#A96926 #A7A926 #65A926
triadic
#A7A926 #26A7A9 #A926A7
tetradic
#A7A926 #26A969 #2826A9 #A92665
square
#A7A926 #26A969 #2826A9 #A92665
split-complementary
#A7A926 #2665A9 #6926A9
monochromatic
#444510 #76771B #A7A926 #D0D33A #DCDE6C
Accessibility & contrast
On white
2.52
#A7A926 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.35
#A7A926 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7A926
8.35:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7A926 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7A926 | 1.00 | 2.52 | 8.35 | 8.35 |
| #FFFFFF | 2.52 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.35 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.35 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B7A100
Deuteranopia (green-blind)
#B8A531
Tritanopia (blue-blind)
#B39E91
Achromatopsia (no color)
#A3A3A3
Design tokens & code
CSS
--color: #a7a926; /* rgb */ color: rgb(167, 169, 38); /* oklch */ color: oklch(71.1% 0.144 110.5);
Tailwind
colors: {
custom: {
50: '#c5c26c',
500: '#a7a926',
950: '#000000',
},
}SCSS
$custom: #a7a926; $custom-light: #c5c26c; $custom-dark: #000000;
JSON
{
"hex": "#a7a926",
"rgb": {
"r": 167,
"g": 169,
"b": 38
},
"hsl": {
"h": 60.916,
"s": 63.285,
"l": 40.588
},
"oklch": {
"l": 0.71073,
"c": 0.14424,
"h": 110.5
},
"luminance": 0.36731
}Semantic roles & 50–950 ramp
primary
#A7A926
secondary
#6867C4
accent
#41E644
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A