#A1A42B#A1A42B
#A1A42B is a light, vivid yellow. Relative luminance 0.343; OKLCH L 69.5% C 0.138 H 110.9°. Best body text is #000000 at 7.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A1A42B |
|---|---|
| RGB | rgb(161, 164, 43) |
| HSL | hsl(61, 58%, 41%) |
| HSV | hsv(61, 74%, 64%) |
| CMYK | cmyk(1.8%, 0%, 73.8%, 35.7%) |
| CIE-LAB | lab(65.20, -15.70, 58.35) |
| CIE-LCH | lch(65.20, 60.43, 105.06°) |
| OKLab | oklab(69.46% -0.0492 0.1287) |
| OKLCH | oklch(69.46% 0.138 110.9) |
| XYZ | xyz(28.4104, 34.3032, 7.4096) |
| Luminance | 0.3430 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.73
Puke
#A5A502
ΔE00 2.77
Pea Soup Green
#94A617
ΔE00 3.59
Pea Soup
#929901
ΔE00 4.11
Baby Poop Green
#8F9805
ΔE00 4.55
Puke Green
#9AAE07
ΔE00 4.69
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1A42B #2E2BA4
analogous
#A46B2B #A1A42B #64A42B
triadic
#A1A42B #2BA1A4 #A42BA1
tetradic
#A1A42B #2BA46B #2E2BA4 #A42B64
square
#A1A42B #2BA46B #2E2BA4 #A42B64
split-complementary
#A1A42B #2B64A4 #6B2BA4
monochromatic
#424312 #71741E #A1A42B #C9CD3F #D7D970
Accessibility & contrast
On white
2.67
#A1A42B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.86
#A1A42B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1A42B
7.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1A42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1A42B | 1.00 | 2.67 | 7.86 | 7.86 |
| #FFFFFF | 2.67 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D12
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#AC9A8D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a1a42b; /* rgb */ color: rgb(161, 164, 43); /* oklch */ color: oklch(69.5% 0.138 110.9);
Tailwind
colors: {
custom: {
50: '#c0be6e',
500: '#a1a42b',
950: '#000000',
},
}SCSS
$custom: #a1a42b; $custom-light: #c0be6e; $custom-dark: #000000;
JSON
{
"hex": "#a1a42b",
"rgb": {
"r": 161,
"g": 164,
"b": 43
},
"hsl": {
"h": 61.488,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.69463,
"c": 0.1378,
"h": 110.9
},
"luminance": 0.34302
}Semantic roles & 50–950 ramp
primary
#A1A42B
secondary
#6C6AC1
accent
#46E24A
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B