#A5A230#A5A230
#A5A230 is a light, vivid yellow. Relative luminance 0.341; OKLCH L 69.4% C 0.132 H 107.9°. Best body text is #000000 at 7.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A230 |
|---|---|
| RGB | rgb(165, 162, 48) |
| HSL | hsl(58, 55%, 42%) |
| HSV | hsv(58, 71%, 65%) |
| CMYK | cmyk(0%, 1.8%, 70.9%, 35.3%) |
| CIE-LAB | lab(65.01, -12.66, 56.45) |
| CIE-LCH | lch(65.01, 57.85, 102.64°) |
| OKLab | oklab(69.4% -0.0405 0.1255) |
| OKLCH | oklch(69.4% 0.132 107.9) |
| XYZ | xyz(28.9720, 34.0543, 7.8427) |
| Luminance | 0.3405 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.43
Puke
#A5A502
ΔE00 3.11
Pea Soup
#929901
ΔE00 4.65
Baby Poop Green
#8F9805
ΔE00 5.17
Pea Soup Green
#94A617
ΔE00 5.21
Puke Green
#9AAE07
ΔE00 6.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A230 #3033A5
analogous
#A56830 #A5A230 #6DA530
triadic
#A5A230 #30A5A2 #A230A5
tetradic
#A5A230 #30A568 #3033A5 #A5306D
square
#A5A230 #30A568 #3033A5 #A5306D
split-complementary
#A5A230 #306DA5 #6830A5
monochromatic
#464514 #767322 #A5A230 #CAC748 #D8D578
Accessibility & contrast
On white
2.69
#A5A230 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.81
#A5A230 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A230
7.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A230 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A230 | 1.00 | 2.69 | 7.81 | 7.81 |
| #FFFFFF | 2.69 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B09B1D
Deuteranopia (green-blind)
#B2A038
Tritanopia (blue-blind)
#B1978C
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a5a230; /* rgb */ color: rgb(165, 162, 48); /* oklch */ color: oklch(69.4% 0.132 107.9);
Tailwind
colors: {
custom: {
50: '#c3bd70',
500: '#a5a230',
950: '#000000',
},
}SCSS
$custom: #a5a230; $custom-light: #c3bd70; $custom-dark: #000000;
JSON
{
"hex": "#a5a230",
"rgb": {
"r": 165,
"g": 162,
"b": 48
},
"hsl": {
"h": 58.462,
"s": 54.93,
"l": 41.765
},
"oklch": {
"l": 0.69397,
"c": 0.13182,
"h": 107.9
},
"luminance": 0.34053
}Semantic roles & 50–950 ramp
primary
#A5A230
secondary
#7173C0
accent
#4DDE4A
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131208
muted
#82817B