#A6B533#A6B533
#A6B533 is a light, vivid yellow. Relative luminance 0.414; OKLCH L 73.8% C 0.150 H 115.9°. Best body text is #000000 at 9.28:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B533 |
|---|---|
| RGB | rgb(166, 181, 51) |
| HSL | hsl(67, 56%, 45%) |
| HSV | hsv(67, 72%, 71%) |
| CMYK | cmyk(8.3%, 0%, 71.8%, 29%) |
| CIE-LAB | lab(70.45, -21.75, 60.69) |
| CIE-LCH | lch(70.45, 64.47, 109.72°) |
| OKLab | oklab(73.78% -0.0656 0.1349) |
| OKLCH | oklch(73.78% 0.15 115.9) |
| XYZ | xyz(32.8481, 41.3942, 9.3908) |
| Luminance | 0.4139 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.71
Mustard Green
#A8B504
ΔE00 2.92
Booger
#9BB53C
ΔE00 3.02
Puke Green
#9AAE07
ΔE00 3.12
Snot
#ACBB0D
ΔE00 3.29
Pea
#A4BF20
ΔE00 3.50
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B533 #4233B5
analogous
#B58333 #A6B533 #65B533
triadic
#A6B533 #33A6B5 #B533A6
tetradic
#A6B533 #33B583 #4233B5 #B53365
square
#A6B533 #33B583 #4233B5 #B53365
split-complementary
#A6B533 #3365B5 #8333B5
monochromatic
#4E5618 #7A8526 #A6B533 #C1CF56 #D3DD86
Accessibility & contrast
On white
2.26
#A6B533 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.28
#A6B533 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B533
9.28:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B533 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B533 | 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)
#C2AC1B
Deuteranopia (green-blind)
#C1AD3D
Tritanopia (blue-blind)
#B1AB9C
Achromatopsia (no color)
#ACACAC
Design tokens & code
CSS
--color: #a6b533; /* rgb */ color: rgb(166, 181, 51); /* oklch */ color: oklch(73.8% 0.150 115.9);
Tailwind
colors: {
custom: {
50: '#c4cb74',
500: '#a6b533',
950: '#000000',
},
}SCSS
$custom: #a6b533; $custom-light: #c4cb74; $custom-dark: #000000;
JSON
{
"hex": "#a6b533",
"rgb": {
"r": 166,
"g": 181,
"b": 51
},
"hsl": {
"h": 66.923,
"s": 56.034,
"l": 45.49
},
"oklch": {
"l": 0.73781,
"c": 0.14999,
"h": 115.9
},
"luminance": 0.41394
}Semantic roles & 50–950 ramp
primary
#A6B533
secondary
#867DC6
accent
#48DF5A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B