#A7B316#A7B316
#A7B316 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.3% C 0.161 H 114.6°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B316 |
|---|---|
| RGB | rgb(167, 179, 22) |
| HSL | hsl(65, 78%, 39%) |
| HSV | hsv(65, 88%, 70%) |
| CMYK | cmyk(6.7%, 0%, 87.7%, 29.8%) |
| CIE-LAB | lab(69.83, -21.41, 68.32) |
| CIE-LCH | lch(69.83, 71.60, 107.40°) |
| OKLab | oklab(73.26% -0.0668 0.1462) |
| OKLCH | oklch(73.26% 0.161 114.6) |
| XYZ | xyz(32.2023, 40.5143, 6.8826) |
| Luminance | 0.4051 (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.56
Barf Green
#94AC02
ΔE00 3.74
Booger Green
#96B403
ΔE00 3.76
Bright Olive
#9CBB04
ΔE00 4.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B316 #2216B3
analogous
#B37116 #A7B316 #59B316
triadic
#A7B316 #16A7B3 #B316A7
tetradic
#A7B316 #16B371 #2216B3 #B31659
square
#A7B316 #16B371 #2216B3 #B31659
split-complementary
#A7B316 #1659B3 #7116B3
monochromatic
#414609 #747C0F #A7B316 #D5E422 #DFEB59
Accessibility & contrast
On white
2.31
#A7B316 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#A7B316 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B316
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B316 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B316 | 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)
#C0AC29
Tritanopia (blue-blind)
#B3A898
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a7b316; /* rgb */ color: rgb(167, 179, 22); /* oklch */ color: oklch(73.3% 0.161 114.6);
Tailwind
colors: {
custom: {
50: '#c5c968',
500: '#a7b316',
950: '#000000',
},
}SCSS
$custom: #a7b316; $custom-light: #c5c968; $custom-dark: #000000;
JSON
{
"hex": "#a7b316",
"rgb": {
"r": 167,
"g": 179,
"b": 22
},
"hsl": {
"h": 64.586,
"s": 78.109,
"l": 39.412
},
"oklch": {
"l": 0.73264,
"c": 0.16078,
"h": 114.6
},
"luminance": 0.40514
}Semantic roles & 50–950 ramp
primary
#A7B316
secondary
#6057CE
accent
#33F542
background
#FCFCF6
surface
#F9F8EB
border
#D2D1C6
text
#131307
muted
#82827A