#A4B317#A4B317
#A4B317 is a light, vivid yellow. Relative luminance 0.402; OKLCH L 73.0% C 0.161 H 115.7°. Best body text is #000000 at 9.04:1 contrast (WCAG AA passes).
Color values
| HEX | #A4B317 |
|---|---|
| RGB | rgb(164, 179, 23) |
| HSL | hsl(66, 77%, 40%) |
| HSV | hsv(66, 87%, 70%) |
| CMYK | cmyk(8.4%, 0%, 87.2%, 29.8%) |
| CIE-LAB | lab(69.61, -22.67, 67.84) |
| CIE-LCH | lch(69.61, 71.53, 108.48°) |
| OKLab | oklab(73.03% -0.0701 0.1455) |
| OKLCH | oklch(73.03% 0.161 115.7) |
| XYZ | xyz(31.5856, 40.1951, 6.9050) |
| Luminance | 0.4019 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.25
Puke Green
#9AAE07
ΔE00 2.01
Snot
#ACBB0D
ΔE00 2.40
Booger Green
#96B403
ΔE00 3.06
Barf Green
#94AC02
ΔE00 3.16
Bright Olive
#9CBB04
ΔE00 3.45
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A4B317 #2617B3
analogous
#B37417 #A4B317 #56B317
triadic
#A4B317 #17A4B3 #B317A4
tetradic
#A4B317 #17B374 #2617B3 #B31756
square
#A4B317 #17B374 #2617B3 #B31756
split-complementary
#A4B317 #1756B3 #7417B3
monochromatic
#414709 #727D10 #A4B317 #D1E324 #DCEA5B
Accessibility & contrast
On white
2.32
#A4B317 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.04
#A4B317 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A4B317
9.04:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A4B317 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A4B317 | 1.00 | 2.32 | 9.04 | 9.04 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.04 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.04 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0A900
Deuteranopia (green-blind)
#BFAB2A
Tritanopia (blue-blind)
#AFA898
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a4b317; /* rgb */ color: rgb(164, 179, 23); /* oklch */ color: oklch(73.0% 0.161 115.7);
Tailwind
colors: {
custom: {
50: '#c3c968',
500: '#a4b317',
950: '#000000',
},
}SCSS
$custom: #a4b317; $custom-light: #c3c968; $custom-dark: #000000;
JSON
{
"hex": "#a4b317",
"rgb": {
"r": 164,
"g": 179,
"b": 23
},
"hsl": {
"h": 65.769,
"s": 77.228,
"l": 39.608
},
"oklch": {
"l": 0.73027,
"c": 0.16148,
"h": 115.7
},
"luminance": 0.40195
}Semantic roles & 50–950 ramp
primary
#A4B317
secondary
#6458CD
accent
#34F446
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A