#A8B316#A8B316
#A8B316 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.160 H 114.2°. Best body text is #000000 at 9.12:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B316 |
|---|---|
| RGB | rgb(168, 179, 22) |
| HSL | hsl(64, 78%, 39%) |
| HSV | hsv(64, 88%, 70%) |
| CMYK | cmyk(6.1%, 0%, 87.7%, 29.8%) |
| CIE-LAB | lab(69.91, -20.98, 68.42) |
| CIE-LCH | lch(69.91, 71.56, 107.05°) |
| OKLab | oklab(73.35% -0.0657 0.1464) |
| OKLCH | oklch(73.35% 0.16 114.2) |
| XYZ | xyz(32.4144, 40.6236, 6.8925) |
| Luminance | 0.4062 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 0.87
Snot
#ACBB0D
ΔE00 2.25
Puke Green
#9AAE07
ΔE00 2.76
Barf Green
#94AC02
ΔE00 3.94
Booger Green
#96B403
ΔE00 4.00
Bright Olive
#9CBB04
ΔE00 4.21
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B316 #2116B3
analogous
#B37016 #A8B316 #5AB316
triadic
#A8B316 #16A8B3 #B316A8
tetradic
#A8B316 #16B370 #2116B3 #B3165A
square
#A8B316 #16B370 #2116B3 #B3165A
split-complementary
#A8B316 #165AB3 #7016B3
monochromatic
#424609 #757C0F #A8B316 #D6E422 #E0EB59
Accessibility & contrast
On white
2.30
#A8B316 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.12
#A8B316 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B316
9.12:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B316 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B316 | 1.00 | 2.30 | 9.12 | 9.12 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.12 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.12 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC29
Tritanopia (blue-blind)
#B4A898
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a8b316; /* rgb */ color: rgb(168, 179, 22); /* oklch */ color: oklch(73.3% 0.160 114.2);
Tailwind
colors: {
custom: {
50: '#c6c968',
500: '#a8b316',
950: '#000000',
},
}SCSS
$custom: #a8b316; $custom-light: #c6c968; $custom-dark: #000000;
JSON
{
"hex": "#a8b316",
"rgb": {
"r": 168,
"g": 179,
"b": 22
},
"hsl": {
"h": 64.204,
"s": 78.109,
"l": 39.412
},
"oklch": {
"l": 0.73346,
"c": 0.16046,
"h": 114.2
},
"luminance": 0.40623
}Semantic roles & 50–950 ramp
primary
#A8B316
secondary
#5F57CE
accent
#33F541
background
#FCFCF6
surface
#F9F8EB
border
#D2D1C6
text
#141307
muted
#82827A