#A4A42B#A4A42B
#A4A42B is a light, vivid yellow. Relative luminance 0.346; OKLCH L 69.7% C 0.137 H 109.5°. Best body text is #000000 at 7.92:1 contrast (WCAG AA passes).
Color values
| HEX | #A4A42B |
|---|---|
| RGB | rgb(164, 164, 43) |
| HSL | hsl(60, 58%, 41%) |
| HSV | hsv(60, 74%, 64%) |
| CMYK | cmyk(0%, 0%, 73.8%, 35.7%) |
| CIE-LAB | lab(65.45, -14.39, 58.67) |
| CIE-LCH | lch(65.45, 60.41, 103.78°) |
| OKLab | oklab(69.72% -0.0457 0.1293) |
| OKLCH | oklch(69.72% 0.137 109.5) |
| XYZ | xyz(29.0224, 34.6187, 7.4383) |
| Luminance | 0.3462 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.61
Puke
#A5A502
ΔE00 2.44
Pea Soup Green
#94A617
ΔE00 4.34
Pea Soup
#929901
ΔE00 4.44
Baby Poop Green
#8F9805
ΔE00 4.97
Puke Green
#9AAE07
ΔE00 5.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4A42B #2B2BA4
analogous
#A4672B #A4A42B #67A42B
triadic
#A4A42B #2BA4A4 #A42BA4
tetradic
#A4A42B #2BA467 #2B2BA4 #A42B67
square
#A4A42B #2BA467 #2B2BA4 #A42B67
split-complementary
#A4A42B #2B67A4 #672BA4
monochromatic
#434312 #74741E #A4A42B #CDCD3F #D9D970
Accessibility & contrast
On white
2.65
#A4A42B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.92
#A4A42B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4A42B
7.92:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4A42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4A42B | 1.00 | 2.65 | 7.92 | 7.92 |
| #FFFFFF | 2.65 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.92 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.92 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D12
Deuteranopia (green-blind)
#B3A134
Tritanopia (blue-blind)
#B0998D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a4a42b; /* rgb */ color: rgb(164, 164, 43); /* oklch */ color: oklch(69.7% 0.137 109.5);
Tailwind
colors: {
custom: {
50: '#c2be6e',
500: '#a4a42b',
950: '#000000',
},
}SCSS
$custom: #a4a42b; $custom-light: #c2be6e; $custom-dark: #000000;
JSON
{
"hex": "#a4a42b",
"rgb": {
"r": 164,
"g": 164,
"b": 43
},
"hsl": {
"h": 60,
"s": 58.454,
"l": 40.588
},
"oklch": {
"l": 0.69722,
"c": 0.13712,
"h": 109.5
},
"luminance": 0.34618
}Semantic roles & 50–950 ramp
primary
#A4A42B
secondary
#6A6AC1
accent
#46E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B