#A7B318#A7B318
#A7B318 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 | #A7B318 |
|---|---|
| RGB | rgb(167, 179, 24) |
| HSL | hsl(65, 76%, 40%) |
| HSV | hsv(65, 87%, 70%) |
| CMYK | cmyk(6.7%, 0%, 86.6%, 29.8%) |
| CIE-LAB | lab(69.84, -21.36, 67.92) |
| CIE-LCH | lch(69.84, 71.20, 107.46°) |
| OKLab | oklab(73.27% -0.0666 0.1457) |
| OKLCH | oklch(73.27% 0.16 114.6) |
| XYZ | xyz(32.2224, 40.5223, 6.9881) |
| Luminance | 0.4052 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 0.95
Snot
#ACBB0D
ΔE00 2.28
Puke Green
#9AAE07
ΔE00 2.54
Barf Green
#94AC02
ΔE00 3.72
Booger Green
#96B403
ΔE00 3.75
Bright Olive
#9CBB04
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B318 #2418B3
analogous
#B37118 #A7B318 #5AB318
triadic
#A7B318 #18A7B3 #B318A7
tetradic
#A7B318 #18B371 #2418B3 #B3185A
square
#A7B318 #18B371 #2418B3 #B3185A
split-complementary
#A7B318 #185AB3 #7118B3
monochromatic
#42470A #757D11 #A7B318 #D3E226 #DEE95C
Accessibility & contrast
On white
2.31
#A7B318 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#A7B318 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B318
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B318 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B318 | 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)
#B3A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a7b318; /* rgb */ color: rgb(167, 179, 24); /* oklch */ color: oklch(73.3% 0.160 114.6);
Tailwind
colors: {
custom: {
50: '#c5c968',
500: '#a7b318',
950: '#000000',
},
}SCSS
$custom: #a7b318; $custom-light: #c5c968; $custom-dark: #000000;
JSON
{
"hex": "#a7b318",
"rgb": {
"r": 167,
"g": 179,
"b": 24
},
"hsl": {
"h": 64.645,
"s": 76.355,
"l": 39.804
},
"oklch": {
"l": 0.73271,
"c": 0.16016,
"h": 114.6
},
"luminance": 0.40522
}Semantic roles & 50–950 ramp
primary
#A7B318
secondary
#635ACD
accent
#35F344
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A