#A8A42B#A8A42B
#A8A42B is a light, vivid yellow. Relative luminance 0.350; OKLCH L 70.1% C 0.136 H 107.5°. Best body text is #000000 at 8.01:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A42B |
|---|---|
| RGB | rgb(168, 164, 43) |
| HSL | hsl(58, 59%, 41%) |
| HSV | hsv(58, 74%, 66%) |
| CMYK | cmyk(0%, 2.4%, 74.4%, 34.1%) |
| CIE-LAB | lab(65.79, -12.63, 59.11) |
| CIE-LCH | lch(65.79, 60.45, 102.06°) |
| OKLab | oklab(70.07% -0.041 0.1301) |
| OKLCH | oklch(70.07% 0.136 107.5) |
| XYZ | xyz(29.8611, 35.0512, 7.4776) |
| Luminance | 0.3505 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 2.05
Puke
#A5A502
ΔE00 2.42
Pea Soup
#929901
ΔE00 5.08
Pea Soup Green
#94A617
ΔE00 5.39
Baby Poop Green
#8F9805
ΔE00 5.67
Muddy Yellow
#BFAC05
ΔE00 5.99
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A42B #2B2FA8
analogous
#A8662B #A8A42B #6EA82B
triadic
#A8A42B #2BA8A4 #A42BA8
tetradic
#A8A42B #2BA866 #2B2FA8 #A82B6E
square
#A8A42B #2BA866 #2B2FA8 #A82B6E
split-complementary
#A8A42B #2B6EA8 #662BA8
monochromatic
#474512 #77741F #A8A42B #CFCA42 #DBD872
Accessibility & contrast
On white
2.62
#A8A42B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.01
#A8A42B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A42B
8.01:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A42B | 1.00 | 2.62 | 8.01 | 8.01 |
| #FFFFFF | 2.62 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.01 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.01 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D12
Deuteranopia (green-blind)
#B4A234
Tritanopia (blue-blind)
#B4998D
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a8a42b; /* rgb */ color: rgb(168, 164, 43); /* oklch */ color: oklch(70.1% 0.136 107.5);
Tailwind
colors: {
custom: {
50: '#c5be6e',
500: '#a8a42b',
950: '#000000',
},
}SCSS
$custom: #a8a42b; $custom-light: #c5be6e; $custom-dark: #000000;
JSON
{
"hex": "#a8a42b",
"rgb": {
"r": 168,
"g": 164,
"b": 43
},
"hsl": {
"h": 58.08,
"s": 59.242,
"l": 41.373
},
"oklch": {
"l": 0.70074,
"c": 0.13637,
"h": 107.5
},
"luminance": 0.3505
}Semantic roles & 50–950 ramp
primary
#A8A42B
secondary
#6C6FC2
accent
#4AE245
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B