#A8B417#A8B417
#A8B417 is a light, vivid yellow. Relative luminance 0.410; OKLCH L 73.6% C 0.161 H 114.5°. Best body text is #000000 at 9.21:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B417 |
|---|---|
| RGB | rgb(168, 180, 23) |
| HSL | hsl(65, 77%, 40%) |
| HSV | hsv(65, 87%, 71%) |
| CMYK | cmyk(6.7%, 0%, 87.2%, 29.4%) |
| CIE-LAB | lab(70.20, -21.45, 68.45) |
| CIE-LCH | lch(70.20, 71.73, 107.40°) |
| OKLab | oklab(73.58% -0.0669 0.1466) |
| OKLCH | oklch(73.58% 0.161 114.5) |
| XYZ | xyz(32.6254, 41.0299, 7.0113) |
| Luminance | 0.4103 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 0.73
Snot
#ACBB0D
ΔE00 1.99
Puke Green
#9AAE07
ΔE00 2.77
Booger Green
#96B403
ΔE00 3.82
Pea
#A4BF20
ΔE00 3.91
Bright Olive
#9CBB04
ΔE00 3.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B417 #2317B4
analogous
#B47217 #A8B417 #5AB417
triadic
#A8B417 #17A8B4 #B417A8
tetradic
#A8B417 #17B472 #2317B4 #B4175A
square
#A8B417 #17B472 #2317B4 #B4175A
split-complementary
#A8B417 #175AB4 #7217B4
monochromatic
#434709 #757E10 #A8B417 #D5E325 #DFEA5B
Accessibility & contrast
On white
2.28
#A8B417 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.21
#A8B417 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B417
9.21:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B417 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B417 | 1.00 | 2.28 | 9.21 | 9.21 |
| #FFFFFF | 2.28 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.21 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.21 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AA00
Deuteranopia (green-blind)
#C1AD2A
Tritanopia (blue-blind)
#B4A999
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a8b417; /* rgb */ color: rgb(168, 180, 23); /* oklch */ color: oklch(73.6% 0.161 114.5);
Tailwind
colors: {
custom: {
50: '#c6ca68',
500: '#a8b417',
950: '#000000',
},
}SCSS
$custom: #a8b417; $custom-light: #c6ca68; $custom-dark: #000000;
JSON
{
"hex": "#a8b417",
"rgb": {
"r": 168,
"g": 180,
"b": 23
},
"hsl": {
"h": 64.586,
"s": 77.34,
"l": 39.804
},
"oklch": {
"l": 0.73576,
"c": 0.16118,
"h": 114.5
},
"luminance": 0.41029
}Semantic roles & 50–950 ramp
primary
#A8B417
secondary
#6259CE
accent
#34F443
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#141307
muted
#82827A