#A8A730#A8A730
#A8A730 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.8% C 0.136 H 108.9°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A730 |
|---|---|
| RGB | rgb(168, 167, 48) |
| HSL | hsl(60, 56%, 42%) |
| HSV | hsv(60, 71%, 66%) |
| CMYK | cmyk(0%, 0.6%, 71.4%, 34.1%) |
| CIE-LAB | lab(66.65, -13.95, 58.15) |
| CIE-LCH | lch(66.65, 59.80, 103.49°) |
| OKLab | oklab(70.78% -0.0443 0.1289) |
| OKLCH | oklch(70.78% 0.136 108.9) |
| XYZ | xyz(30.5018, 36.1766, 8.1718) |
| Luminance | 0.3618 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.14
Puke
#A5A502
ΔE00 2.68
Pea Soup Green
#94A617
ΔE00 4.80
Puke Green
#9AAE07
ΔE00 5.24
Mustard Green
#A8B504
ΔE00 5.37
Pea Soup
#929901
ΔE00 5.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A730 #3031A8
analogous
#A86B30 #A8A730 #6DA830
triadic
#A8A730 #30A8A7 #A730A8
tetradic
#A8A730 #30A86B #3031A8 #A8306D
square
#A8A730 #30A86B #3031A8 #A8306D
split-complementary
#A8A730 #306DA8 #6B30A8
monochromatic
#494815 #787822 #A8A730 #CBCA4A #D9D87A
Accessibility & contrast
On white
2.55
#A8A730 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.24
#A8A730 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A730
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A730 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A730 | 1.00 | 2.55 | 8.24 | 8.24 |
| #FFFFFF | 2.55 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.24 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.24 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A01B
Deuteranopia (green-blind)
#B6A439
Tritanopia (blue-blind)
#B49C90
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a8a730; /* rgb */ color: rgb(168, 167, 48); /* oklch */ color: oklch(70.8% 0.136 108.9);
Tailwind
colors: {
custom: {
50: '#c5c071',
500: '#a8a730',
950: '#000000',
},
}SCSS
$custom: #a8a730; $custom-light: #c5c071; $custom-dark: #000000;
JSON
{
"hex": "#a8a730",
"rgb": {
"r": 168,
"g": 167,
"b": 48
},
"hsl": {
"h": 59.5,
"s": 55.556,
"l": 42.353
},
"oklch": {
"l": 0.70775,
"c": 0.13631,
"h": 108.9
},
"luminance": 0.36176
}Semantic roles & 50–950 ramp
primary
#A8A730
secondary
#7373C1
accent
#4ADF49
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B