#A5A02B#A5A02B
#A5A02B is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.9% C 0.133 H 106.9°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A02B |
|---|---|
| RGB | rgb(165, 160, 43) |
| HSL | hsl(58, 59%, 41%) |
| HSV | hsv(58, 74%, 65%) |
| CMYK | cmyk(0%, 3%, 73.9%, 35.3%) |
| CIE-LAB | lab(64.42, -11.86, 57.72) |
| CIE-LCH | lch(64.42, 58.93, 101.61°) |
| OKLab | oklab(68.92% -0.0387 0.1272) |
| OKLCH | oklch(68.92% 0.133 106.9) |
| XYZ | xyz(28.5250, 33.3164, 7.2132) |
| Luminance | 0.3332 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.56
Puke
#A5A502
ΔE00 3.07
Pea Soup
#929901
ΔE00 4.48
Baby Poop Green
#8F9805
ΔE00 5.05
Pea Soup Green
#94A617
ΔE00 5.70
Baby Shit Green
#889717
ΔE00 6.56
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A02B #2B30A5
analogous
#A5632B #A5A02B #6DA52B
triadic
#A5A02B #2BA5A0 #A02BA5
tetradic
#A5A02B #2BA563 #2B30A5 #A52B6D
square
#A5A02B #2BA563 #2B30A5 #A52B6D
split-complementary
#A5A02B #2B6DA5 #632BA5
monochromatic
#444212 #74711E #A5A02B #CDC740 #DAD671
Accessibility & contrast
On white
2.74
#A5A02B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#A5A02B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A02B
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A02B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A02B | 1.00 | 2.74 | 7.66 | 7.66 |
| #FFFFFF | 2.74 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.66 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.66 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9A14
Deuteranopia (green-blind)
#B09E34
Tritanopia (blue-blind)
#B1958A
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a5a02b; /* rgb */ color: rgb(165, 160, 43); /* oklch */ color: oklch(68.9% 0.133 106.9);
Tailwind
colors: {
custom: {
50: '#c3bb6d',
500: '#a5a02b',
950: '#000000',
},
}SCSS
$custom: #a5a02b; $custom-light: #c3bb6d; $custom-dark: #000000;
JSON
{
"hex": "#a5a02b",
"rgb": {
"r": 165,
"g": 160,
"b": 43
},
"hsl": {
"h": 57.541,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.68917,
"c": 0.13298,
"h": 106.9
},
"luminance": 0.33315
}Semantic roles & 50–950 ramp
primary
#A5A02B
secondary
#6B6EC1
accent
#4CE246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131108
muted
#82807B