#A6B330#A6B330
#A6B330 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.3% C 0.150 H 115.1°. Best body text is #000000 at 9.11:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B330 |
|---|---|
| RGB | rgb(166, 179, 48) |
| HSL | hsl(66, 58%, 45%) |
| HSV | hsv(66, 73%, 70%) |
| CMYK | cmyk(7.3%, 0%, 73.2%, 29.8%) |
| CIE-LAB | lab(69.87, -20.91, 61.19) |
| CIE-LCH | lch(69.87, 64.66, 108.87°) |
| OKLab | oklab(73.31% -0.0635 0.1354) |
| OKLCH | oklch(73.31% 0.15 115.1) |
| XYZ | xyz(32.3804, 40.5611, 8.9191) |
| Luminance | 0.4056 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.67
Puke Green
#9AAE07
ΔE00 2.83
Sick Green
#9DB92C
ΔE00 3.26
Snot
#ACBB0D
ΔE00 3.36
Booger
#9BB53C
ΔE00 3.48
Sickly Green
#94B21C
ΔE00 3.71
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B330 #3D30B3
analogous
#B37F30 #A6B330 #65B330
triadic
#A6B330 #30A6B3 #B330A6
tetradic
#A6B330 #30B37F #3D30B3 #B33065
square
#A6B330 #30B37F #3D30B3 #B33065
split-complementary
#A6B330 #3065B3 #7F30B3
monochromatic
#4C5216 #798323 #A6B330 #C3D050 #D4DD80
Accessibility & contrast
On white
2.30
#A6B330 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.11
#A6B330 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B330
9.11:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B330 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B330 | 1.00 | 2.30 | 9.11 | 9.11 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.11 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.11 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA16
Deuteranopia (green-blind)
#BFAC3B
Tritanopia (blue-blind)
#B1A89A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a6b330; /* rgb */ color: rgb(166, 179, 48); /* oklch */ color: oklch(73.3% 0.150 115.1);
Tailwind
colors: {
custom: {
50: '#c4c972',
500: '#a6b330',
950: '#000000',
},
}SCSS
$custom: #a6b330; $custom-light: #c4c972; $custom-dark: #000000;
JSON
{
"hex": "#a6b330",
"rgb": {
"r": 166,
"g": 179,
"b": 48
},
"hsl": {
"h": 65.954,
"s": 57.709,
"l": 44.51
},
"oklch": {
"l": 0.73307,
"c": 0.14958,
"h": 115.1
},
"luminance": 0.40561
}Semantic roles & 50–950 ramp
primary
#A6B330
secondary
#8079C6
accent
#47E156
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B