#A6A42B#A6A42B
#A6A42B is a light, vivid yellow. Relative luminance 0.348; OKLCH L 69.9% C 0.137 H 108.5°. Best body text is #000000 at 7.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A42B |
|---|---|
| RGB | rgb(166, 164, 43) |
| HSL | hsl(59, 59%, 41%) |
| HSV | hsv(59, 74%, 65%) |
| CMYK | cmyk(0%, 1.2%, 74.1%, 34.9%) |
| CIE-LAB | lab(65.62, -13.51, 58.89) |
| CIE-LCH | lch(65.62, 60.42, 102.92°) |
| OKLab | oklab(69.9% -0.0434 0.1297) |
| OKLCH | oklch(69.9% 0.137 108.5) |
| XYZ | xyz(29.4385, 34.8333, 7.4578) |
| Luminance | 0.3483 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 1.75
Puke
#A5A502
ΔE00 2.36
Pea Soup
#929901
ΔE00 4.74
Pea Soup Green
#94A617
ΔE00 4.86
Baby Poop Green
#8F9805
ΔE00 5.30
Puke Green
#9AAE07
ΔE00 5.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A42B #2B2DA6
analogous
#A6662B #A6A42B #6AA62B
triadic
#A6A42B #2BA6A4 #A42BA6
tetradic
#A6A42B #2BA666 #2B2DA6 #A62B6A
square
#A6A42B #2BA666 #2B2DA6 #A62B6A
split-complementary
#A6A42B #2B6AA6 #662BA6
monochromatic
#454412 #75741E #A6A42B #CECB41 #DAD971
Accessibility & contrast
On white
2.64
#A6A42B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.97
#A6A42B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A42B
7.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A42B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A42B | 1.00 | 2.64 | 7.97 | 7.97 |
| #FFFFFF | 2.64 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B29D12
Deuteranopia (green-blind)
#B4A134
Tritanopia (blue-blind)
#B2998D
Achromatopsia (no color)
#9F9F9F
Design tokens & code
CSS
--color: #a6a42b; /* rgb */ color: rgb(166, 164, 43); /* oklch */ color: oklch(69.9% 0.137 108.5);
Tailwind
colors: {
custom: {
50: '#c4be6e',
500: '#a6a42b',
950: '#000000',
},
}SCSS
$custom: #a6a42b; $custom-light: #c4be6e; $custom-dark: #000000;
JSON
{
"hex": "#a6a42b",
"rgb": {
"r": 166,
"g": 164,
"b": 43
},
"hsl": {
"h": 59.024,
"s": 58.852,
"l": 40.98
},
"oklch": {
"l": 0.69897,
"c": 0.13673,
"h": 108.5
},
"luminance": 0.34832
}Semantic roles & 50–950 ramp
primary
#A6A42B
secondary
#6B6DC1
accent
#48E246
background
#FCFBF6
surface
#F8F6EC
border
#D1D0C7
text
#131208
muted
#82817B