#A2A126#A2A126
#A2A126 is a light, vivid yellow. Relative luminance 0.333; OKLCH L 68.8% C 0.137 H 109.0°. Best body text is #000000 at 7.66:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A126 |
|---|---|
| RGB | rgb(162, 161, 38) |
| HSL | hsl(60, 62%, 39%) |
| HSV | hsv(60, 77%, 64%) |
| CMYK | cmyk(0%, 0.6%, 76.5%, 36.5%) |
| CIE-LAB | lab(64.41, -13.93, 59.34) |
| CIE-LCH | lch(64.41, 60.95, 103.21°) |
| OKLab | oklab(68.84% -0.0448 0.1298) |
| OKLCH | oklch(68.84% 0.137 109) |
| XYZ | xyz(27.9961, 33.3119, 6.7885) |
| Luminance | 0.3331 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.65
Puke
#A5A502
ΔE00 2.46
Pea Soup
#929901
ΔE00 3.77
Baby Poop Green
#8F9805
ΔE00 4.34
Pea Soup Green
#94A617
ΔE00 4.59
Puke Green
#9AAE07
ΔE00 5.73
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A126 #2627A2
analogous
#A26326 #A2A126 #65A226
triadic
#A2A126 #26A2A1 #A126A2
tetradic
#A2A126 #26A263 #2627A2 #A22665
square
#A2A126 #26A263 #2627A2 #A22665
split-complementary
#A2A126 #2665A2 #6326A2
monochromatic
#3F3E0F #70701A #A2A126 #D0CE35 #DBDA67
Accessibility & contrast
On white
2.74
#A2A126 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.66
#A2A126 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A126
7.66:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A126 | 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)
#AF9A06
Deuteranopia (green-blind)
#B09E30
Tritanopia (blue-blind)
#AE968A
Achromatopsia (no color)
#9C9C9C
Design tokens & code
CSS
--color: #a2a126; /* rgb */ color: rgb(162, 161, 38); /* oklch */ color: oklch(68.8% 0.137 109.0);
Tailwind
colors: {
custom: {
50: '#c1bc6b',
500: '#a2a126',
950: '#000000',
},
}SCSS
$custom: #a2a126; $custom-light: #c1bc6b; $custom-dark: #000000;
JSON
{
"hex": "#a2a126",
"rgb": {
"r": 162,
"g": 161,
"b": 38
},
"hsl": {
"h": 59.516,
"s": 62,
"l": 39.216
},
"oklch": {
"l": 0.68844,
"c": 0.13735,
"h": 109
},
"luminance": 0.33311
}Semantic roles & 50–950 ramp
primary
#A2A126
secondary
#6363C1
accent
#44E543
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131207
muted
#82817A