#A8A530#A8A530
#A8A530 is a light, vivid yellow. Relative luminance 0.354; OKLCH L 70.3% C 0.134 H 107.9°. Best body text is #000000 at 8.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A530 |
|---|---|
| RGB | rgb(168, 165, 48) |
| HSL | hsl(59, 56%, 42%) |
| HSV | hsv(59, 71%, 66%) |
| CMYK | cmyk(0%, 1.8%, 71.4%, 34.1%) |
| CIE-LAB | lab(66.10, -12.91, 57.60) |
| CIE-LCH | lch(66.10, 59.03, 102.63°) |
| OKLab | oklab(70.33% -0.0413 0.1278) |
| OKLCH | oklch(70.33% 0.134 107.9) |
| XYZ | xyz(30.1382, 35.4495, 8.0506) |
| Luminance | 0.3545 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.25
Puke
#A5A502
ΔE00 2.76
Pea Soup Green
#94A617
ΔE00 5.22
Pea Soup
#929901
ΔE00 5.26
Baby Poop Green
#8F9805
ΔE00 5.81
Puke Green
#9AAE07
ΔE00 5.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A530 #3033A8
analogous
#A86930 #A8A530 #6FA830
triadic
#A8A530 #30A8A5 #A530A8
tetradic
#A8A530 #30A869 #3033A8 #A8306F
square
#A8A530 #30A869 #3033A8 #A8306F
split-complementary
#A8A530 #306FA8 #6930A8
monochromatic
#494815 #787622 #A8A530 #CBC84A #D9D67A
Accessibility & contrast
On white
2.60
#A8A530 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.09
#A8A530 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A530
8.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A530 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A530 | 1.00 | 2.60 | 8.09 | 8.09 |
| #FFFFFF | 2.60 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B39E1C
Deuteranopia (green-blind)
#B5A338
Tritanopia (blue-blind)
#B49A8E
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a8a530; /* rgb */ color: rgb(168, 165, 48); /* oklch */ color: oklch(70.3% 0.134 107.9);
Tailwind
colors: {
custom: {
50: '#c5bf70',
500: '#a8a530',
950: '#000000',
},
}SCSS
$custom: #a8a530; $custom-light: #c5bf70; $custom-dark: #000000;
JSON
{
"hex": "#a8a530",
"rgb": {
"r": 168,
"g": 165,
"b": 48
},
"hsl": {
"h": 58.5,
"s": 55.556,
"l": 42.353
},
"oklch": {
"l": 0.7033,
"c": 0.1343,
"h": 107.9
},
"luminance": 0.35448
}Semantic roles & 50–950 ramp
primary
#A8A530
secondary
#7375C1
accent
#4DDF49
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B