#A6B328#A6B328
#A6B328 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.3% C 0.154 H 115.1°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B328 |
|---|---|
| RGB | rgb(166, 179, 40) |
| HSL | hsl(66, 63%, 43%) |
| HSV | hsv(66, 78%, 70%) |
| CMYK | cmyk(7.3%, 0%, 77.7%, 29.8%) |
| CIE-LAB | lab(69.82, -21.27, 63.77) |
| CIE-LCH | lch(69.82, 67.22, 108.45°) |
| OKLab | oklab(73.26% -0.0652 0.1395) |
| OKLCH | oklch(73.26% 0.154 115.1) |
| XYZ | xyz(32.2299, 40.5010, 8.1267) |
| Luminance | 0.4050 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.99
Puke Green
#9AAE07
ΔE00 2.50
Snot
#ACBB0D
ΔE00 2.86
Sick Green
#9DB92C
ΔE00 3.39
Booger Green
#96B403
ΔE00 3.54
Barf Green
#94AC02
ΔE00 3.54
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B328 #3528B3
analogous
#B37B28 #A6B328 #60B328
triadic
#A6B328 #28A6B3 #B328A6
tetradic
#A6B328 #28B37B #3528B3 #B32860
square
#A6B328 #28B37B #3528B3 #B32860
split-complementary
#A6B328 #2860B3 #7B28B3
monochromatic
#494F12 #78811D #A6B328 #C7D543 #D6E075
Accessibility & contrast
On white
2.31
#A6B328 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#A6B328 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B328
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B328 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B328 | 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)
#C0AA00
Deuteranopia (green-blind)
#BFAC35
Tritanopia (blue-blind)
#B1A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a6b328; /* rgb */ color: rgb(166, 179, 40); /* oklch */ color: oklch(73.3% 0.154 115.1);
Tailwind
colors: {
custom: {
50: '#c4c96e',
500: '#a6b328',
950: '#000000',
},
}SCSS
$custom: #a6b328; $custom-light: #c4c96e; $custom-dark: #000000;
JSON
{
"hex": "#a6b328",
"rgb": {
"r": 166,
"g": 179,
"b": 40
},
"hsl": {
"h": 65.612,
"s": 63.47,
"l": 42.941
},
"oklch": {
"l": 0.73259,
"c": 0.15396,
"h": 115.1
},
"luminance": 0.405
}Semantic roles & 50–950 ramp
primary
#A6B328
secondary
#776FC8
accent
#41E651
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B