#A9B317#A9B317
#A9B317 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.4% C 0.160 H 113.8°. Best body text is #000000 at 9.15:1 contrast (WCAG AA passes).
Color values
| HEX | #A9B317 |
|---|---|
| RGB | rgb(169, 179, 23) |
| HSL | hsl(64, 77%, 40%) |
| HSV | hsv(64, 87%, 70%) |
| CMYK | cmyk(5.6%, 0%, 87.2%, 29.8%) |
| CIE-LAB | lab(69.99, -20.52, 68.32) |
| CIE-LCH | lch(69.99, 71.33, 106.72°) |
| OKLab | oklab(73.43% -0.0644 0.1463) |
| OKLCH | oklch(73.43% 0.16 113.8) |
| XYZ | xyz(32.6380, 40.7378, 6.9543) |
| Luminance | 0.4074 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 0.96
Snot
#ACBB0D
ΔE00 2.30
Puke Green
#9AAE07
ΔE00 2.96
Barf Green
#94AC02
ΔE00 4.14
Booger Green
#96B403
ΔE00 4.23
Puke
#A5A502
ΔE00 4.30
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A9B317 #2117B3
analogous
#B36F17 #A9B317 #5BB317
triadic
#A9B317 #17A9B3 #B317A9
tetradic
#A9B317 #17B36F #2117B3 #B3175B
square
#A9B317 #17B36F #2117B3 #B3175B
split-complementary
#A9B317 #175BB3 #6F17B3
monochromatic
#434709 #767D10 #A9B317 #D7E324 #E1EA5B
Accessibility & contrast
On white
2.30
#A9B317 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.15
#A9B317 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A9B317
9.15:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A9B317 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A9B317 | 1.00 | 2.30 | 9.15 | 9.15 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.15 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.15 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C1AC2A
Tritanopia (blue-blind)
#B5A898
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a9b317; /* rgb */ color: rgb(169, 179, 23); /* oklch */ color: oklch(73.4% 0.160 113.8);
Tailwind
colors: {
custom: {
50: '#c7c968',
500: '#a9b317',
950: '#000000',
},
}SCSS
$custom: #a9b317; $custom-light: #c7c968; $custom-dark: #000000;
JSON
{
"hex": "#a9b317",
"rgb": {
"r": 169,
"g": 179,
"b": 23
},
"hsl": {
"h": 63.846,
"s": 77.228,
"l": 39.608
},
"oklch": {
"l": 0.7343,
"c": 0.15984,
"h": 113.8
},
"luminance": 0.40737
}Semantic roles & 50–950 ramp
primary
#A9B317
secondary
#6058CD
accent
#34F440
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A