#A9942A#A9942A
#A9942A is a light, vivid yellow. Relative luminance 0.298; OKLCH L 66.7% C 0.123 H 97.5°. Best body text is #000000 at 6.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A9942A |
|---|---|
| RGB | rgb(169, 148, 42) |
| HSL | hsl(50, 60%, 41%) |
| HSV | hsv(50, 75%, 66%) |
| CMYK | cmyk(0%, 12.4%, 75.1%, 33.7%) |
| CIE-LAB | lab(61.47, -3.72, 55.41) |
| CIE-LCH | lch(61.47, 55.53, 93.85°) |
| OKLab | oklab(66.66% -0.0161 0.122) |
| OKLCH | oklch(66.66% 0.123 97.5) |
| XYZ | xyz(27.3714, 29.7834, 6.4971) |
| Luminance | 0.2978 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Baby Poo
#AB9004
ΔE00 2.94
Baby Shit Brown
#AD900D
ΔE00 3.05
Brown Yellow
#B29705
ΔE00 3.38
Dark Gold
#B59410
ΔE00 4.00
Dark Mustard
#A88905
ΔE00 4.54
Yellow Brown
#B79400
ΔE00 4.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9942A #2A3FA9
analogous
#A9552A #A9942A #7FA92A
triadic
#A9942A #2AA994 #942AA9
tetradic
#A9942A #2AA955 #2A3FA9 #A92A7F
square
#A9942A #2AA955 #2A3FA9 #A92A7F
split-complementary
#A9942A #2A7FA9 #552AA9
monochromatic
#473E12 #78691E #A9942A #D0B841 #DCCA72
Accessibility & contrast
On white
3.02
#A9942A on #FFFFFF
AA ✗AA large ✓AAA ✗
On black
6.96
#A9942A on #000000
AA ✓AA large ✓AAA ✗
Best text color
#000000 on #A9942A
6.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9942A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9942A | 1.00 | 3.02 | 6.96 | 6.96 |
| #FFFFFF | 3.02 | 1.00 | 21.00 | 21.00 |
| #000000 | 6.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 6.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#A39017
Deuteranopia (green-blind)
#A99731
Tritanopia (blue-blind)
#B7887F
Achromatopsia (no color)
#949494
Design tokens & code
CSS
--color: #a9942a; /* rgb */ color: rgb(169, 148, 42); /* oklch */ color: oklch(66.7% 0.123 97.5);
Tailwind
colors: {
custom: {
50: '#c6b36b',
500: '#a9942a',
950: '#000000',
},
}SCSS
$custom: #a9942a; $custom-light: #c6b36b; $custom-dark: #000000;
JSON
{
"hex": "#a9942a",
"rgb": {
"r": 169,
"g": 148,
"b": 42
},
"hsl": {
"h": 50.079,
"s": 60.19,
"l": 41.373
},
"oklch": {
"l": 0.66658,
"c": 0.12302,
"h": 97.5
},
"luminance": 0.29782
}Semantic roles & 50–950 ramp
primary
#A9942A
secondary
#6C7AC3
accent
#5FE344
background
#FCFAF6
surface
#F9F5EC
border
#D2CFC7
text
#141007
muted
#827F7A