#A6B427#A6B427
#A6B427 is a light, vivid yellow. Relative luminance 0.409; OKLCH L 73.5% C 0.156 H 115.4°. Best body text is #000000 at 9.18:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B427 |
|---|---|
| RGB | rgb(166, 180, 39) |
| HSL | hsl(66, 64%, 43%) |
| HSV | hsv(66, 78%, 71%) |
| CMYK | cmyk(7.8%, 0%, 78.3%, 29.4%) |
| CIE-LAB | lab(70.10, -21.80, 64.32) |
| CIE-LCH | lch(70.10, 67.92, 108.73°) |
| OKLab | oklab(73.48% -0.0668 0.1405) |
| OKLCH | oklch(73.48% 0.156 115.4) |
| XYZ | xyz(32.4143, 40.8965, 8.1053) |
| Luminance | 0.4090 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.88
Puke Green
#9AAE07
ΔE00 2.53
Snot
#ACBB0D
ΔE00 2.61
Sick Green
#9DB92C
ΔE00 3.16
Booger Green
#96B403
ΔE00 3.36
Pea
#A4BF20
ΔE00 3.55
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B427 #3527B4
analogous
#B47B27 #A6B427 #60B427
triadic
#A6B427 #27A6B4 #B427A6
tetradic
#A6B427 #27B47B #3527B4 #B42760
square
#A6B427 #27B47B #3527B4 #B42760
split-complementary
#A6B427 #2760B4 #7B27B4
monochromatic
#494F11 #78821C #A6B427 #C7D642 #D6E174
Accessibility & contrast
On white
2.29
#A6B427 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.18
#A6B427 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B427
9.18:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B427 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B427 | 1.00 | 2.29 | 9.18 | 9.18 |
| #FFFFFF | 2.29 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.18 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.18 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1AA00
Deuteranopia (green-blind)
#C0AC34
Tritanopia (blue-blind)
#B1A99A
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a6b427; /* rgb */ color: rgb(166, 180, 39); /* oklch */ color: oklch(73.5% 0.156 115.4);
Tailwind
colors: {
custom: {
50: '#c4ca6e',
500: '#a6b427',
950: '#000000',
},
}SCSS
$custom: #a6b427; $custom-light: #c4ca6e; $custom-dark: #000000;
JSON
{
"hex": "#a6b427",
"rgb": {
"r": 166,
"g": 180,
"b": 39
},
"hsl": {
"h": 65.957,
"s": 64.384,
"l": 42.941
},
"oklch": {
"l": 0.73481,
"c": 0.15554,
"h": 115.4
},
"luminance": 0.40896
}Semantic roles & 50–950 ramp
primary
#A6B427
secondary
#776FC8
accent
#40E751
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B