#A6B730#A6B730
#A6B730 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.2% C 0.154 H 116.6°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B730 |
|---|---|
| RGB | rgb(166, 183, 48) |
| HSL | hsl(68, 58%, 45%) |
| HSV | hsv(68, 74%, 72%) |
| CMYK | cmyk(9.3%, 0%, 73.8%, 28.2%) |
| CIE-LAB | lab(71.00, -22.89, 62.27) |
| CIE-LCH | lch(71.00, 66.34, 110.19°) |
| OKLab | oklab(74.22% -0.069 0.1377) |
| OKLCH | oklch(74.22% 0.154 116.6) |
| XYZ | xyz(33.1937, 42.1878, 9.1902) |
| Luminance | 0.4219 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.26
Mustard Green
#A8B504
ΔE00 2.76
Pea
#A4BF20
ΔE00 2.81
Snot
#ACBB0D
ΔE00 2.86
Booger
#9BB53C
ΔE00 3.03
Bright Olive
#9CBB04
ΔE00 3.19
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B730 #4130B7
analogous
#B78530 #A6B730 #62B730
triadic
#A6B730 #30A6B7 #B730A6
tetradic
#A6B730 #30B785 #4130B7 #B73062
square
#A6B730 #30B785 #4130B7 #B73062
split-complementary
#A6B730 #3062B7 #8530B7
monochromatic
#4E5617 #7A8723 #A6B730 #C2D252 #D3DE83
Accessibility & contrast
On white
2.23
#A6B730 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.44
#A6B730 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B730
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B730 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B730 | 1.00 | 2.23 | 9.44 | 9.44 |
| #FFFFFF | 2.23 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD14
Deuteranopia (green-blind)
#C2AF3C
Tritanopia (blue-blind)
#B1AD9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a6b730; /* rgb */ color: rgb(166, 183, 48); /* oklch */ color: oklch(74.2% 0.154 116.6);
Tailwind
colors: {
custom: {
50: '#c4cc72',
500: '#a6b730',
950: '#000000',
},
}SCSS
$custom: #a6b730; $custom-light: #c4cc72; $custom-dark: #000000;
JSON
{
"hex": "#a6b730",
"rgb": {
"r": 166,
"g": 183,
"b": 48
},
"hsl": {
"h": 67.556,
"s": 58.442,
"l": 45.294
},
"oklch": {
"l": 0.74216,
"c": 0.15403,
"h": 116.6
},
"luminance": 0.42187
}Semantic roles & 50–950 ramp
primary
#A6B730
secondary
#857BC8
accent
#46E25A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B