#A7B317#A7B317
#A7B317 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.3% C 0.160 H 114.6°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B317 |
|---|---|
| RGB | rgb(167, 179, 23) |
| HSL | hsl(65, 77%, 40%) |
| HSV | hsv(65, 87%, 70%) |
| CMYK | cmyk(6.7%, 0%, 87.2%, 29.8%) |
| CIE-LAB | lab(69.84, -21.38, 68.13) |
| CIE-LCH | lch(69.84, 71.40, 107.43°) |
| OKLab | oklab(73.27% -0.0667 0.146) |
| OKLCH | oklch(73.27% 0.16 114.6) |
| XYZ | xyz(32.2122, 40.5182, 6.9344) |
| Luminance | 0.4052 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 0.91
Snot
#ACBB0D
ΔE00 2.26
Puke Green
#9AAE07
ΔE00 2.55
Barf Green
#94AC02
ΔE00 3.73
Booger Green
#96B403
ΔE00 3.76
Bright Olive
#9CBB04
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B317 #2317B3
analogous
#B37117 #A7B317 #59B317
triadic
#A7B317 #17A7B3 #B317A7
tetradic
#A7B317 #17B371 #2317B3 #B31759
square
#A7B317 #17B371 #2317B3 #B31759
split-complementary
#A7B317 #1759B3 #7117B3
monochromatic
#424709 #747D10 #A7B317 #D4E324 #DFEA5B
Accessibility & contrast
On white
2.31
#A7B317 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#A7B317 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B317
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B317 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B317 | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC2A
Tritanopia (blue-blind)
#B3A898
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a7b317; /* rgb */ color: rgb(167, 179, 23); /* oklch */ color: oklch(73.3% 0.160 114.6);
Tailwind
colors: {
custom: {
50: '#c5c968',
500: '#a7b317',
950: '#000000',
},
}SCSS
$custom: #a7b317; $custom-light: #c5c968; $custom-dark: #000000;
JSON
{
"hex": "#a7b317",
"rgb": {
"r": 167,
"g": 179,
"b": 23
},
"hsl": {
"h": 64.615,
"s": 77.228,
"l": 39.608
},
"oklch": {
"l": 0.73268,
"c": 0.16048,
"h": 114.6
},
"luminance": 0.40518
}Semantic roles & 50–950 ramp
primary
#A7B317
secondary
#6158CD
accent
#34F443
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A