#A6A438#A6A438
#A6A438 is a light, vivid yellow. Relative luminance 0.349; OKLCH L 70.0% C 0.128 H 108.3°. Best body text is #000000 at 7.99:1 contrast (WCAG AA passes).
Color values
| HEX | #A6A438 |
|---|---|
| RGB | rgb(166, 164, 56) |
| HSL | hsl(59, 50%, 44%) |
| HSV | hsv(59, 66%, 65%) |
| CMYK | cmyk(0%, 1.2%, 66.3%, 34.9%) |
| CIE-LAB | lab(65.71, -12.82, 54.01) |
| CIE-LCH | lch(65.71, 55.51, 103.36°) |
| OKLab | oklab(69.99% -0.0401 0.1216) |
| OKLCH | oklch(69.99% 0.128 108.3) |
| XYZ | xyz(29.7162, 34.9443, 8.9202) |
| Luminance | 0.3494 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.00
Puke
#A5A502
ΔE00 3.73
Pea Soup Green
#94A617
ΔE00 5.21
Pea Soup
#929901
ΔE00 5.29
Baby Poop Green
#8F9805
ΔE00 5.72
Puke Green
#9AAE07
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6A438 #383AA6
analogous
#A66D38 #A6A438 #71A638
triadic
#A6A438 #38A6A4 #A438A6
tetradic
#A6A438 #38A66D #383AA6 #A63871
square
#A6A438 #38A66D #383AA6 #A63871
split-complementary
#A6A438 #3871A6 #6D38A6
monochromatic
#4A4A19 #787729 #A6A438 #C6C455 #D5D483
Accessibility & contrast
On white
2.63
#A6A438 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.99
#A6A438 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6A438
7.99:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6A438 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6A438 | 1.00 | 2.63 | 7.99 | 7.99 |
| #FFFFFF | 2.63 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.99 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.99 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B19D29
Deuteranopia (green-blind)
#B3A13F
Tritanopia (blue-blind)
#B29A8E
Achromatopsia (no color)
#A0A0A0
Design tokens & code
CSS
--color: #a6a438; /* rgb */ color: rgb(166, 164, 56); /* oklch */ color: oklch(70.0% 0.128 108.3);
Tailwind
colors: {
custom: {
50: '#c3be75',
500: '#a6a438',
950: '#000000',
},
}SCSS
$custom: #a6a438; $custom-light: #c3be75; $custom-dark: #000000;
JSON
{
"hex": "#a6a438",
"rgb": {
"r": 166,
"g": 164,
"b": 56
},
"hsl": {
"h": 58.909,
"s": 49.55,
"l": 43.529
},
"oklch": {
"l": 0.69994,
"c": 0.12809,
"h": 108.3
},
"luminance": 0.34943
}Semantic roles & 50–950 ramp
primary
#A6A438
secondary
#7B7CBF
accent
#51D94F
background
#FCFBF7
surface
#F8F6ED
border
#D1D0C8
text
#131209
muted
#82817B