#A8A142#A8A142
#A8A142 is a light, moderate yellow. Relative luminance 0.342; OKLCH L 69.6% C 0.117 H 105.1°. Best body text is #000000 at 7.84:1 contrast (WCAG AA passes).
Color values
| HEX | #A8A142 |
|---|---|
| RGB | rgb(168, 161, 66) |
| HSL | hsl(56, 44%, 46%) |
| HSV | hsv(56, 61%, 66%) |
| CMYK | cmyk(0%, 4.2%, 60.7%, 34.1%) |
| CIE-LAB | lab(65.13, -9.72, 49.10) |
| CIE-LCH | lch(65.13, 50.05, 101.20°) |
| OKLab | oklab(69.6% -0.0304 0.1127) |
| OKLCH | oklch(69.6% 0.117 105.1) |
| XYZ | xyz(29.8777, 34.2089, 10.1823) |
| Luminance | 0.3421 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.85
Khaki (survey)
#AAA662
ΔE00 4.94
Puke
#A5A502
ΔE00 5.44
Pea Soup
#929901
ΔE00 6.41
Baby Poop Green
#8F9805
ΔE00 6.78
Pea Soup Green
#94A617
ΔE00 7.09
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8A142 #4249A8
analogous
#A86E42 #A8A142 #7CA842
triadic
#A8A142 #42A8A1 #A142A8
tetradic
#A8A142 #42A86E #4249A8 #A8427C
square
#A8A142 #42A86E #4249A8 #A8427C
split-complementary
#A8A142 #427CA8 #6E42A8
monochromatic
#504D1F #7C7731 #A8A142 #C2BC65 #D4CF91
Accessibility & contrast
On white
2.68
#A8A142 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
7.84
#A8A142 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8A142
7.84:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8A142 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8A142 | 1.00 | 2.68 | 7.84 | 7.84 |
| #FFFFFF | 2.68 | 1.00 | 21.00 | 21.00 |
| #000000 | 7.84 | 21.00 | 1.00 | 1.00 |
| ##000000 | 7.84 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#AE9C37
Deuteranopia (green-blind)
#B1A047
Tritanopia (blue-blind)
#B4978D
Achromatopsia (no color)
#9E9E9E
Design tokens & code
CSS
--color: #a8a142; /* rgb */ color: rgb(168, 161, 66); /* oklch */ color: oklch(69.6% 0.117 105.1);
Tailwind
colors: {
custom: {
50: '#c4bc7a',
500: '#a8a142',
950: '#000000',
},
}SCSS
$custom: #a8a142; $custom-light: #c4bc7a; $custom-dark: #000000;
JSON
{
"hex": "#a8a142",
"rgb": {
"r": 168,
"g": 161,
"b": 66
},
"hsl": {
"h": 55.882,
"s": 43.59,
"l": 45.882
},
"oklch": {
"l": 0.69603,
"c": 0.11671,
"h": 105.1
},
"luminance": 0.34208
}Semantic roles & 50–950 ramp
primary
#A8A142
secondary
#878BBF
accent
#5DD354
background
#FCFBF7
surface
#F8F6EE
border
#D1D0C9
text
#131209
muted
#82817B