#A1A826#A1A826
#A1A826 is a light, vivid yellow. Relative luminance 0.357; OKLCH L 70.3% C 0.145 H 112.8°. Best body text is #000000 at 8.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A1A826 |
|---|---|
| RGB | rgb(161, 168, 38) |
| HSL | hsl(63, 63%, 40%) |
| HSV | hsv(63, 77%, 66%) |
| CMYK | cmyk(4.2%, 0%, 77.4%, 34.1%) |
| CIE-LAB | lab(66.31, -17.97, 61.04) |
| CIE-LCH | lch(66.31, 63.63, 106.40°) |
| OKLab | oklab(70.34% -0.056 0.1335) |
| OKLCH | oklch(70.34% 0.145 112.8) |
| XYZ | xyz(29.0514, 35.7229, 7.1982) |
| Luminance | 0.3572 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.96
Puke
#A5A502
ΔE00 2.79
Pea Soup Green
#94A617
ΔE00 2.81
Puke Green
#9AAE07
ΔE00 3.28
Barf Green
#94AC02
ΔE00 3.82
Mustard Green
#A8B504
ΔE00 4.28
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A1A826 #2D26A8
analogous
#A86E26 #A1A826 #60A826
triadic
#A1A826 #26A1A8 #A826A1
tetradic
#A1A826 #26A86E #2D26A8 #A82660
square
#A1A826 #26A86E #2D26A8 #A82660
split-complementary
#A1A826 #2660A8 #6E26A8
monochromatic
#41440F #71761B #A1A826 #CAD239 #D7DE6B
Accessibility & contrast
On white
2.58
#A1A826 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.14
#A1A826 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A1A826
8.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A1A826 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A1A826 | 1.00 | 2.58 | 8.14 | 8.14 |
| #FFFFFF | 2.58 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B5A001
Deuteranopia (green-blind)
#B5A332
Tritanopia (blue-blind)
#AC9D90
Achromatopsia (no color)
#A1A1A1
Design tokens & code
CSS
--color: #a1a826; /* rgb */ color: rgb(161, 168, 38); /* oklch */ color: oklch(70.3% 0.145 112.8);
Tailwind
colors: {
custom: {
50: '#c0c16c',
500: '#a1a826',
950: '#000000',
},
}SCSS
$custom: #a1a826; $custom-light: #c0c16c; $custom-dark: #000000;
JSON
{
"hex": "#a1a826",
"rgb": {
"r": 161,
"g": 168,
"b": 38
},
"hsl": {
"h": 63.231,
"s": 63.107,
"l": 40.392
},
"oklch": {
"l": 0.70339,
"c": 0.14476,
"h": 112.8
},
"luminance": 0.35722
}Semantic roles & 50–950 ramp
primary
#A1A826
secondary
#6B66C4
accent
#42E64B
background
#FCFBF6
surface
#F8F7EC
border
#D1D0C7
text
#131207
muted
#82817A