#A6B531#A6B531
#A6B531 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 73.8% C 0.151 H 115.9°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B531 |
|---|---|
| RGB | rgb(166, 181, 49) |
| HSL | hsl(67, 57%, 45%) |
| HSV | hsv(67, 73%, 71%) |
| CMYK | cmyk(8.3%, 0%, 72.9%, 29%) |
| CIE-LAB | lab(70.44, -21.85, 61.39) |
| CIE-LCH | lch(70.44, 65.16, 109.60°) |
| OKLab | oklab(73.77% -0.0661 0.136) |
| OKLCH | oklch(73.77% 0.151 115.9) |
| XYZ | xyz(32.8050, 41.3770, 9.1636) |
| Luminance | 0.4138 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.72
Mustard Green
#A8B504
ΔE00 2.73
Puke Green
#9AAE07
ΔE00 3.00
Snot
#ACBB0D
ΔE00 3.13
Booger
#9BB53C
ΔE00 3.14
Pea
#A4BF20
ΔE00 3.43
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B531 #4031B5
analogous
#B58231 #A6B531 #64B531
triadic
#A6B531 #31A6B5 #B531A6
tetradic
#A6B531 #31B582 #4031B5 #B53164
square
#A6B531 #31B582 #4031B5 #B53164
split-complementary
#A6B531 #3164B5 #8231B5
monochromatic
#4E5517 #7A8524 #A6B531 #C2D053 #D3DD83
Accessibility & contrast
On white
2.26
#A6B531 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#A6B531 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B531
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B531 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B531 | 1.00 | 2.26 | 9.28 | 9.28 |
| #FFFFFF | 2.26 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.28 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.28 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C2AC17
Deuteranopia (green-blind)
#C1AD3C
Tritanopia (blue-blind)
#B1AB9C
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a6b531; /* rgb */ color: rgb(166, 181, 49); /* oklch */ color: oklch(73.8% 0.151 115.9);
Tailwind
colors: {
custom: {
50: '#c4cb73',
500: '#a6b531',
950: '#000000',
},
}SCSS
$custom: #a6b531; $custom-light: #c4cb73; $custom-dark: #000000;
JSON
{
"hex": "#a6b531",
"rgb": {
"r": 166,
"g": 181,
"b": 49
},
"hsl": {
"h": 66.818,
"s": 57.391,
"l": 45.098
},
"oklch": {
"l": 0.73768,
"c": 0.15121,
"h": 115.9
},
"luminance": 0.41376
}Semantic roles & 50–950 ramp
primary
#A6B531
secondary
#847BC7
accent
#47E159
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B