#A8B322#A8B322
#A8B322 is a light, vivid yellow. Relative luminance 0.407; OKLCH L 73.4% C 0.156 H 114.2°. Best body text is #000000 at 9.14:1 contrast (WCAG AA passes).
Color values
| HEX | #A8B322 |
|---|---|
| RGB | rgb(168, 179, 34) |
| HSL | hsl(65, 68%, 42%) |
| HSV | hsv(65, 81%, 70%) |
| CMYK | cmyk(6.1%, 0%, 81%, 29.8%) |
| CIE-LAB | lab(69.95, -20.64, 65.67) |
| CIE-LCH | lch(69.95, 68.83, 107.45°) |
| OKLab | oklab(73.39% -0.064 0.1424) |
| OKLCH | oklch(73.39% 0.156 114.2) |
| XYZ | xyz(32.5583, 40.6812, 7.6502) |
| Luminance | 0.4068 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.45
Snot
#ACBB0D
ΔE00 2.53
Puke Green
#9AAE07
ΔE00 2.74
Barf Green
#94AC02
ΔE00 3.87
Booger Green
#96B403
ΔE00 3.94
Sick Green
#9DB92C
ΔE00 3.98
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A8B322 #2D22B3
analogous
#B37622 #A8B322 #60B322
triadic
#A8B322 #22A8B3 #B322A8
tetradic
#A8B322 #22B376 #2D22B3 #B32260
square
#A8B322 #22B376 #2D22B3 #B32260
split-complementary
#A8B322 #2260B3 #7622B3
monochromatic
#474C0E #788018 #A8B322 #CDD939 #DAE36C
Accessibility & contrast
On white
2.30
#A8B322 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.14
#A8B322 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A8B322
9.14:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A8B322 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A8B322 | 1.00 | 2.30 | 9.14 | 9.14 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.14 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.14 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC31
Tritanopia (blue-blind)
#B4A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a8b322; /* rgb */ color: rgb(168, 179, 34); /* oklch */ color: oklch(73.4% 0.156 114.2);
Tailwind
colors: {
custom: {
50: '#c6c96c',
500: '#a8b322',
950: '#000000',
},
}SCSS
$custom: #a8b322; $custom-light: #c6c96c; $custom-dark: #000000;
JSON
{
"hex": "#a8b322",
"rgb": {
"r": 168,
"g": 179,
"b": 34
},
"hsl": {
"h": 64.552,
"s": 68.075,
"l": 41.765
},
"oklch": {
"l": 0.73391,
"c": 0.15612,
"h": 114.2
},
"luminance": 0.40681
}Semantic roles & 50–950 ramp
primary
#A8B322
secondary
#6F68C9
accent
#3DEB4A
background
#FCFCF6
surface
#F9F8EC
border
#D2D1C7
text
#131308
muted
#82827A