Mustard Green#A8B504
#A8B504 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 73.8% C 0.166 H 114.9°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B504 |
|---|---|
| RGB | rgb(168, 181, 4) |
| HSL | hsl(64, 96%, 36%) |
| HSV | hsv(64, 98%, 71%) |
| CMYK | cmyk(7.2%, 0%, 97.8%, 29%) |
| CIE-LAB | lab(70.44, -22.26, 71.36) |
| CIE-LCH | lch(70.44, 74.75, 107.33°) |
| OKLab | oklab(73.76% -0.0699 0.1508) |
| OKLCH | oklch(73.76% 0.166 114.9) |
| XYZ | xyz(32.6953, 41.3820, 6.3800) |
| Luminance | 0.4138 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 0.00
Snot
#ACBB0D
ΔE00 1.61
Puke Green
#9AAE07
ΔE00 3.00
Bright Olive
#9CBB04
ΔE00 3.79
Bile
#B5C306
ΔE00 3.80
Pea
#A4BF20
ΔE00 3.83
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B504 #1104B5
analogous
#B56A04 #A8B504 #50B504
triadic
#A8B504 #04A8B5 #B504A8
tetradic
#A8B504 #04B56A #1104B5 #B50450
square
#A8B504 #04B56A #1104B5 #B50450
split-complementary
#A8B504 #0450B5 #6A04B5
monochromatic
#393D01 #707903 #A8B504 #E0F105 #ECFB39
Accessibility & contrast
On white
2.26
#A8B504 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#A8B504 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B504
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B504 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B504 | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C3AB00
Deuteranopia (green-blind)
#C2AD22
Tritanopia (blue-blind)
#B4AA9A
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a8b504; /* rgb */ color: rgb(168, 181, 4); /* oklch */ color: oklch(73.8% 0.166 114.9);
Tailwind
colors: {
custom: {
50: '#c6cb64',
500: '#a8b504',
950: '#000000',
},
}SCSS
$custom: #a8b504; $custom-light: #c6cb64; $custom-dark: #000000;
JSON
{
"hex": "#a8b504",
"rgb": {
"r": 168,
"g": 181,
"b": 4
},
"hsl": {
"h": 64.407,
"s": 95.676,
"l": 36.275
},
"oklch": {
"l": 0.73761,
"c": 0.16623,
"h": 114.9
},
"luminance": 0.41381
}Semantic roles & 50–950 ramp
primary
#A8B504
secondary
#483CD8
accent
#29FF39
background
#FCFCF6
surface
#F9F8EB
border
#D2D1C6
text
#141307
muted
#82827A