#A7AB34#A7AB34
#A7AB34 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.6% C 0.138 H 111.3°. Best body text is #000000 at 8.52:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AB34 |
|---|---|
| RGB | rgb(167, 171, 52) |
| HSL | hsl(62, 53%, 44%) |
| HSV | hsv(62, 70%, 67%) |
| CMYK | cmyk(2.3%, 0%, 69.6%, 32.9%) |
| CIE-LAB | lab(67.72, -16.23, 57.66) |
| CIE-LCH | lch(67.72, 59.90, 105.72°) |
| OKLab | oklab(71.61% -0.0502 0.1286) |
| OKLCH | oklch(71.61% 0.138 111.3) |
| XYZ | xyz(31.1201, 37.5900, 8.8644) |
| Luminance | 0.3759 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.90
Puke
#A5A502
ΔE00 3.50
Pea Soup Green
#94A617
ΔE00 4.11
Puke Green
#9AAE07
ΔE00 4.16
Mustard Green
#A8B504
ΔE00 4.38
Barf Green
#94AC02
ΔE00 4.87
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AB34 #3834AB
analogous
#AB7334 #A7AB34 #6BAB34
triadic
#A7AB34 #34A7AB #AB34A7
tetradic
#A7AB34 #34AB73 #3834AB #AB346B
square
#A7AB34 #34AB73 #3834AB #AB346B
split-complementary
#A7AB34 #346BAB #7334AB
monochromatic
#4B4D17 #797C26 #A7AB34 #C6CA52 #D6D981
Accessibility & contrast
On white
2.47
#A7AB34 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.52
#A7AB34 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AB34
8.52:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AB34 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AB34 | 1.00 | 2.47 | 8.52 | 8.52 |
| #FFFFFF | 2.47 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.52 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.52 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A321
Deuteranopia (green-blind)
#B9A63D
Tritanopia (blue-blind)
#B2A093
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #a7ab34; /* rgb */ color: rgb(167, 171, 52); /* oklch */ color: oklch(71.6% 0.138 111.3);
Tailwind
colors: {
custom: {
50: '#c4c373',
500: '#a7ab34',
950: '#000000',
},
}SCSS
$custom: #a7ab34; $custom-light: #c4c373; $custom-dark: #000000;
JSON
{
"hex": "#a7ab34",
"rgb": {
"r": 167,
"g": 171,
"b": 52
},
"hsl": {
"h": 62.017,
"s": 53.363,
"l": 43.725
},
"oklch": {
"l": 0.71612,
"c": 0.13808,
"h": 111.3
},
"luminance": 0.37589
}Semantic roles & 50–950 ramp
primary
#A7AB34
secondary
#7B79C2
accent
#4BDD50
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B