#A7B416#A7B416
#A7B416 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.5% C 0.162 H 114.9°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B416 |
|---|---|
| RGB | rgb(167, 180, 22) |
| HSL | hsl(65, 78%, 40%) |
| HSV | hsv(65, 88%, 71%) |
| CMYK | cmyk(7.2%, 0%, 87.8%, 29.4%) |
| CIE-LAB | lab(70.12, -21.90, 68.55) |
| CIE-LCH | lch(70.12, 71.97, 107.72°) |
| OKLab | oklab(73.49% -0.0682 0.1467) |
| OKLCH | oklch(73.49% 0.162 114.9) |
| XYZ | xyz(32.4035, 40.9165, 6.9496) |
| Luminance | 0.4092 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 0.74
Snot
#ACBB0D
ΔE00 1.99
Puke Green
#9AAE07
ΔE00 2.60
Booger Green
#96B403
ΔE00 3.60
Bright Olive
#9CBB04
ΔE00 3.73
Barf Green
#94AC02
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B416 #2316B4
analogous
#B47216 #A7B416 #58B416
triadic
#A7B416 #16A7B4 #B416A7
tetradic
#A7B416 #16B472 #2316B4 #B41658
square
#A7B416 #16B472 #2316B4 #B41658
split-complementary
#A7B416 #1658B4 #7216B4
monochromatic
#424709 #747D0F #A7B416 #D4E423 #DFEB5A
Accessibility & contrast
On white
2.29
#A7B416 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#A7B416 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B416
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B416 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B416 | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AA00
Deuteranopia (green-blind)
#C1AD2A
Tritanopia (blue-blind)
#B3A999
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a7b416; /* rgb */ color: rgb(167, 180, 22); /* oklch */ color: oklch(73.5% 0.162 114.9);
Tailwind
colors: {
custom: {
50: '#c5ca68',
500: '#a7b416',
950: '#000000',
},
}SCSS
$custom: #a7b416; $custom-light: #c5ca68; $custom-dark: #000000;
JSON
{
"hex": "#a7b416",
"rgb": {
"r": 167,
"g": 180,
"b": 22
},
"hsl": {
"h": 64.937,
"s": 78.218,
"l": 39.608
},
"oklch": {
"l": 0.73492,
"c": 0.1618,
"h": 114.9
},
"luminance": 0.40916
}Semantic roles & 50–950 ramp
primary
#A7B416
secondary
#6158CE
accent
#33F543
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A