#A7B418#A7B418
#A7B418 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.5% C 0.161 H 114.9°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A7B418 |
|---|---|
| RGB | rgb(167, 180, 24) |
| HSL | hsl(65, 76%, 40%) |
| HSV | hsv(65, 87%, 71%) |
| CMYK | cmyk(7.2%, 0%, 86.7%, 29.4%) |
| CIE-LAB | lab(70.12, -21.86, 68.16) |
| CIE-LCH | lch(70.12, 71.58, 107.78°) |
| OKLab | oklab(73.5% -0.068 0.1462) |
| OKLCH | oklch(73.5% 0.161 114.9) |
| XYZ | xyz(32.4235, 40.9246, 7.0552) |
| Luminance | 0.4092 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 0.84
Snot
#ACBB0D
ΔE00 2.02
Puke Green
#9AAE07
ΔE00 2.58
Booger Green
#96B403
ΔE00 3.58
Bright Olive
#9CBB04
ΔE00 3.72
Barf Green
#94AC02
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7B418 #2518B4
analogous
#B47318 #A7B418 #59B418
triadic
#A7B418 #18A7B4 #B418A7
tetradic
#A7B418 #18B473 #2518B4 #B41859
square
#A7B418 #18B473 #2518B4 #B41859
split-complementary
#A7B418 #1859B4 #7318B4
monochromatic
#43480A #757E11 #A7B418 #D3E227 #DEE95D
Accessibility & contrast
On white
2.29
#A7B418 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#A7B418 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7B418
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7B418 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7B418 | 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)
#C1AD2B
Tritanopia (blue-blind)
#B3A999
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a7b418; /* rgb */ color: rgb(167, 180, 24); /* oklch */ color: oklch(73.5% 0.161 114.9);
Tailwind
colors: {
custom: {
50: '#c5ca68',
500: '#a7b418',
950: '#000000',
},
}SCSS
$custom: #a7b418; $custom-light: #c5ca68; $custom-dark: #000000;
JSON
{
"hex": "#a7b418",
"rgb": {
"r": 167,
"g": 180,
"b": 24
},
"hsl": {
"h": 65,
"s": 76.471,
"l": 40
},
"oklch": {
"l": 0.73498,
"c": 0.1612,
"h": 114.9
},
"luminance": 0.40924
}Semantic roles & 50–950 ramp
primary
#A7B418
secondary
#645BCD
accent
#35F345
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131307
muted
#82827A