#A5A830#A5A830
#A5A830 is a light, vivid yellow. Relative luminance 0.362; OKLCH L 70.7% C 0.138 H 110.9°. Best body text is #000000 at 8.24:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A830 |
|---|---|
| RGB | rgb(165, 168, 48) |
| HSL | hsl(62, 56%, 42%) |
| HSV | hsv(62, 71%, 66%) |
| CMYK | cmyk(1.8%, 0%, 71.4%, 34.1%) |
| CIE-LAB | lab(66.69, -15.77, 58.09) |
| CIE-LCH | lch(66.69, 60.19, 105.19°) |
| OKLab | oklab(70.74% -0.0492 0.1289) |
| OKLCH | oklch(70.74% 0.138 110.9) |
| XYZ | xyz(30.0542, 36.2188, 8.2035) |
| Luminance | 0.3622 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.19
Puke
#A5A502
ΔE00 2.96
Pea Soup Green
#94A617
ΔE00 3.89
Puke Green
#9AAE07
ΔE00 4.36
Mustard Green
#A8B504
ΔE00 4.86
Barf Green
#94AC02
ΔE00 4.96
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A830 #3330A8
analogous
#A86F30 #A5A830 #69A830
triadic
#A5A830 #30A5A8 #A830A5
tetradic
#A5A830 #30A86F #3330A8 #A83069
square
#A5A830 #30A86F #3330A8 #A83069
split-complementary
#A5A830 #3069A8 #6F30A8
monochromatic
#484915 #767822 #A5A830 #C8CB4A #D6D97A
Accessibility & contrast
On white
2.55
#A5A830 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.24
#A5A830 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A830
8.24:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A830 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A830 | 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)
#B19D91
Achromatopsia (no color)
#A2A2A2
Design tokens & code
CSS
--color: #a5a830; /* rgb */ color: rgb(165, 168, 48); /* oklch */ color: oklch(70.7% 0.138 110.9);
Tailwind
colors: {
custom: {
50: '#c3c171',
500: '#a5a830',
950: '#000000',
},
}SCSS
$custom: #a5a830; $custom-light: #c3c171; $custom-dark: #000000;
JSON
{
"hex": "#a5a830",
"rgb": {
"r": 165,
"g": 168,
"b": 48
},
"hsl": {
"h": 61.5,
"s": 55.556,
"l": 42.353
},
"oklch": {
"l": 0.7074,
"c": 0.13798,
"h": 110.9
},
"luminance": 0.36218
}Semantic roles & 50–950 ramp
primary
#A5A830
secondary
#7573C1
accent
#49DF4D
background
#FCFBF7
surface
#F8F7ED
border
#D1D0C8
text
#131208
muted
#82817B