#A5A42B#A5A42B
#A5A42B is a light, vivid yellow. Relative luminance 0.347; OKLCH L 69.8% C 0.137 H 109.0°. Best body text is #000000 at 7.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A5A42B |
|---|---|
| RGB | rgb(165, 164, 43) |
| HSL | hsl(60, 59%, 41%) |
| HSV | hsv(60, 74%, 65%) |
| CMYK | cmyk(0%, 0.6%, 73.9%, 35.3%) |
| CIE-LAB | lab(65.53, -13.95, 58.78) |
| CIE-LCH | lch(65.53, 60.41, 103.35°) |
| OKLab | oklab(69.81% -0.0446 0.1295) |
| OKLCH | oklch(69.81% 0.137 109) |
| XYZ | xyz(29.2296, 34.7256, 7.4480) |
| Luminance | 0.3473 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.66
Puke
#A5A502
ΔE00 2.39
Pea Soup
#929901
ΔE00 4.58
Pea Soup Green
#94A617
ΔE00 4.60
Baby Poop Green
#8F9805
ΔE00 5.13
Puke Green
#9AAE07
ΔE00 5.40
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A5A42B #2B2CA5
analogous
#A5672B #A5A42B #69A52B
triadic
#A5A42B #2BA5A4 #A42BA5
tetradic
#A5A42B #2BA567 #2B2CA5 #A52B69
square
#A5A42B #2BA567 #2B2CA5 #A52B69
split-complementary
#A5A42B #2B69A5 #672BA5
monochromatic
#444312 #74741E #A5A42B #CDCC40 #DAD971
Accessibility & contrast
On white
2.64
#A5A42B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.94
#A5A42B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A5A42B
7.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A5A42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A5A42B | 1.00 | 2.64 | 7.94 | 7.94 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D12
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#B1998D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a5a42b; /* rgb */ color: rgb(165, 164, 43); /* oklch */ color: oklch(69.8% 0.137 109.0);
Tailwind
colors: {
custom: {
50: '#c3be6e',
500: '#a5a42b',
950: '#000000',
},
}SCSS
$custom: #a5a42b; $custom-light: #c3be6e; $custom-dark: #000000;
JSON
{
"hex": "#a5a42b",
"rgb": {
"r": 165,
"g": 164,
"b": 43
},
"hsl": {
"h": 59.508,
"s": 58.654,
"l": 40.784
},
"oklch": {
"l": 0.6981,
"c": 0.13693,
"h": 109
},
"luminance": 0.34725
}Semantic roles & 50–950 ramp
primary
#A5A42B
secondary
#6B6BC1
accent
#47E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B