#A6B728#A6B728
#A6B728 is a light, vivid yellow. Relative luminance 0.421; OKLCH L 74.2% C 0.158 H 116.5°. Best body text is #000000 at 9.43:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B728 |
|---|---|
| RGB | rgb(166, 183, 40) |
| HSL | hsl(67, 64%, 44%) |
| HSV | hsv(67, 78%, 72%) |
| CMYK | cmyk(9.3%, 0%, 78.1%, 28.2%) |
| CIE-LAB | lab(70.96, -23.25, 64.80) |
| CIE-LCH | lch(70.96, 68.84, 109.74°) |
| OKLab | oklab(74.17% -0.0707 0.1417) |
| OKLCH | oklch(74.17% 0.158 116.5) |
| XYZ | xyz(33.0433, 42.1276, 8.3978) |
| Luminance | 0.4213 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.14
Snot
#ACBB0D
ΔE00 2.28
Sick Green
#9DB92C
ΔE00 2.46
Pea
#A4BF20
ΔE00 2.63
Bright Olive
#9CBB04
ΔE00 2.90
Puke Green
#9AAE07
ΔE00 2.93
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B728 #3928B7
analogous
#B78028 #A6B728 #5EB728
triadic
#A6B728 #28A6B7 #B728A6
tetradic
#A6B728 #28B780 #3928B7 #B7285E
square
#A6B728 #28B780 #3928B7 #B7285E
split-complementary
#A6B728 #285EB7 #8028B7
monochromatic
#4B5312 #78851D #A6B728 #C5D646 #D5E178
Accessibility & contrast
On white
2.23
#A6B728 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.43
#A6B728 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B728
9.43:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B728 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B728 | 1.00 | 2.23 | 9.43 | 9.43 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.43 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.43 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD00
Deuteranopia (green-blind)
#C3AF36
Tritanopia (blue-blind)
#B1AC9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a6b728; /* rgb */ color: rgb(166, 183, 40); /* oklch */ color: oklch(74.2% 0.158 116.5);
Tailwind
colors: {
custom: {
50: '#c4cc6f',
500: '#a6b728',
950: '#000000',
},
}SCSS
$custom: #a6b728; $custom-light: #c4cc6f; $custom-dark: #000000;
JSON
{
"hex": "#a6b728",
"rgb": {
"r": 166,
"g": 183,
"b": 40
},
"hsl": {
"h": 67.133,
"s": 64.126,
"l": 43.725
},
"oklch": {
"l": 0.7417,
"c": 0.15831,
"h": 116.5
},
"luminance": 0.42127
}Semantic roles & 50–950 ramp
primary
#A6B728
secondary
#7C72C9
accent
#41E754
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B