#A6B928#A6B928
#A6B928 is a light, vivid yellow. Relative luminance 0.430; OKLCH L 74.6% C 0.161 H 117.2°. Best body text is #000000 at 9.59:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B928 |
|---|---|
| RGB | rgb(166, 185, 40) |
| HSL | hsl(68, 64%, 44%) |
| HSV | hsv(68, 78%, 73%) |
| CMYK | cmyk(10.3%, 0%, 78.4%, 27.5%) |
| CIE-LAB | lab(71.53, -24.23, 65.31) |
| CIE-LCH | lch(71.53, 69.66, 110.35°) |
| OKLab | oklab(74.63% -0.0734 0.1427) |
| OKLCH | oklch(74.63% 0.161 117.2) |
| XYZ | xyz(33.4587, 42.9585, 8.5363) |
| Luminance | 0.4296 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 2.03
Sick Green
#9DB92C
ΔE00 2.14
Snot
#ACBB0D
ΔE00 2.20
Mustard Green
#A8B504
ΔE00 2.45
Bright Olive
#9CBB04
ΔE00 2.48
Gross Green
#A0BF16
ΔE00 2.60
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B928 #3B28B9
analogous
#B98428 #A6B928 #5EB928
triadic
#A6B928 #28A6B9 #B928A6
tetradic
#A6B928 #28B984 #3B28B9 #B9285E
square
#A6B928 #28B984 #3B28B9 #B9285E
split-complementary
#A6B928 #285EB9 #8428B9
monochromatic
#4C5412 #79871D #A6B928 #C4D747 #D4E279
Accessibility & contrast
On white
2.19
#A6B928 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.59
#A6B928 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B928
9.59:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B928 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B928 | 1.00 | 2.19 | 9.59 | 9.59 |
| #FFFFFF | 2.19 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.59 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.59 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C6AF00
Deuteranopia (green-blind)
#C4B036
Tritanopia (blue-blind)
#B1AE9E
Achromatopsia (no color)
#AFAFAF
Design tokens & code
CSS
--color: #a6b928; /* rgb */ color: rgb(166, 185, 40); /* oklch */ color: oklch(74.6% 0.161 117.2);
Tailwind
colors: {
custom: {
50: '#c4cd6f',
500: '#a6b928',
950: '#000000',
},
}SCSS
$custom: #a6b928; $custom-light: #c4cd6f; $custom-dark: #000000;
JSON
{
"hex": "#a6b928",
"rgb": {
"r": 166,
"g": 185,
"b": 40
},
"hsl": {
"h": 67.862,
"s": 64.444,
"l": 44.118
},
"oklch": {
"l": 0.74627,
"c": 0.16051,
"h": 117.2
},
"luminance": 0.42958
}Semantic roles & 50–950 ramp
primary
#A6B928
secondary
#7E73CA
accent
#40E756
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B