#A6B126#A6B126
#A6B126 is a light, vivid yellow. Relative luminance 0.397; OKLCH L 72.8% C 0.153 H 114.3°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B126 |
|---|---|
| RGB | rgb(166, 177, 38) |
| HSL | hsl(65, 65%, 42%) |
| HSV | hsv(65, 79%, 69%) |
| CMYK | cmyk(6.2%, 0%, 78.5%, 30.6%) |
| CIE-LAB | lab(69.25, -20.35, 63.85) |
| CIE-LCH | lch(69.25, 67.01, 107.68°) |
| OKLab | oklab(72.8% -0.0628 0.1393) |
| OKLCH | oklch(72.8% 0.153 114.3) |
| XYZ | xyz(31.7989, 39.6918, 7.8195) |
| Luminance | 0.3969 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.08
Puke Green
#9AAE07
ΔE00 2.47
Snot
#ACBB0D
ΔE00 3.21
Barf Green
#94AC02
ΔE00 3.53
Booger Green
#96B403
ΔE00 3.91
Pea Soup Green
#94A617
ΔE00 3.97
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B126 #3126B1
analogous
#B17626 #A6B126 #61B126
triadic
#A6B126 #26A6B1 #B126A6
tetradic
#A6B126 #26B176 #3126B1 #B12661
square
#A6B126 #26B176 #3126B1 #B12661
split-complementary
#A6B126 #2661B1 #7626B1
monochromatic
#474C10 #777F1B #A6B126 #CAD63F #D8E071
Accessibility & contrast
On white
2.35
#A6B126 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.94
#A6B126 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B126
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B126 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B126 | 1.00 | 2.35 | 8.94 | 8.94 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA800
Deuteranopia (green-blind)
#BEAA33
Tritanopia (blue-blind)
#B1A697
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a6b126; /* rgb */ color: rgb(166, 177, 38); /* oklch */ color: oklch(72.8% 0.153 114.3);
Tailwind
colors: {
custom: {
50: '#c4c86d',
500: '#a6b126',
950: '#000000',
},
}SCSS
$custom: #a6b126; $custom-light: #c4c86d; $custom-dark: #000000;
JSON
{
"hex": "#a6b126",
"rgb": {
"r": 166,
"g": 177,
"b": 38
},
"hsl": {
"h": 64.748,
"s": 64.651,
"l": 42.157
},
"oklch": {
"l": 0.72795,
"c": 0.1528,
"h": 114.3
},
"luminance": 0.39691
}Semantic roles & 50–950 ramp
primary
#A6B126
secondary
#736BC7
accent
#40E84D
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A