#A2A42B#A2A42B
#A2A42B is a light, vivid yellow. Relative luminance 0.344; OKLCH L 69.5% C 0.138 H 110.5°. Best body text is #000000 at 7.88:1 contrast (WCAG AA passes).
Color values
| HEX | #A2A42B |
|---|---|
| RGB | rgb(162, 164, 43) |
| HSL | hsl(61, 58%, 41%) |
| HSV | hsv(61, 74%, 64%) |
| CMYK | cmyk(1.2%, 0%, 73.8%, 35.7%) |
| CIE-LAB | lab(65.28, -15.26, 58.46) |
| CIE-LCH | lch(65.28, 60.42, 104.63°) |
| OKLab | oklab(69.55% -0.0481 0.1289) |
| OKLCH | oklch(69.55% 0.138 110.5) |
| XYZ | xyz(28.6128, 34.4075, 7.4191) |
| Luminance | 0.3441 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.65
Puke
#A5A502
ΔE00 2.64
Pea Soup Green
#94A617
ΔE00 3.84
Pea Soup
#929901
ΔE00 4.21
Baby Poop Green
#8F9805
ΔE00 4.68
Puke Green
#9AAE07
ΔE00 4.85
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A2A42B #2D2BA4
analogous
#A4692B #A2A42B #65A42B
triadic
#A2A42B #2BA2A4 #A42BA2
tetradic
#A2A42B #2BA469 #2D2BA4 #A42B65
square
#A2A42B #2BA469 #2D2BA4 #A42B65
split-complementary
#A2A42B #2B65A4 #692BA4
monochromatic
#424312 #72741E #A2A42B #CACD3F #D8D970
Accessibility & contrast
On white
2.66
#A2A42B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.88
#A2A42B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A2A42B
7.88:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A2A42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A2A42B | 1.00 | 2.66 | 7.88 | 7.88 |
| #FFFFFF | 2.66 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.88 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.88 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D12
Deuteranopia (green-blind)
#B2A035
Tritanopia (blue-blind)
#AE998D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a2a42b; /* rgb */ color: rgb(162, 164, 43); /* oklch */ color: oklch(69.5% 0.138 110.5);
Tailwind
colors: {
custom: {
50: '#c1be6e',
500: '#a2a42b',
950: '#000000',
},
}SCSS
$custom: #a2a42b; $custom-light: #c1be6e; $custom-dark: #000000;
JSON
{
"hex": "#a2a42b",
"rgb": {
"r": 162,
"g": 164,
"b": 43
},
"hsl": {
"h": 60.992,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.69549,
"c": 0.13757,
"h": 110.5
},
"luminance": 0.34407
}Semantic roles & 50–950 ramp
primary
#A2A42B
secondary
#6C6AC1
accent
#46E249
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B