#A6BA26#A6BA26
#A6BA26 is a light, vivid yellow. Relative luminance 0.434; OKLCH L 74.8% C 0.163 H 117.5°. Best body text is #000000 at 9.67:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BA26 |
|---|---|
| RGB | rgb(166, 186, 38) |
| HSL | hsl(68, 66%, 44%) |
| HSV | hsv(68, 80%, 73%) |
| CMYK | cmyk(10.8%, 0%, 79.6%, 27.1%) |
| CIE-LAB | lab(71.80, -24.79, 66.14) |
| CIE-LCH | lch(71.80, 70.63, 110.55°) |
| OKLab | oklab(74.85% -0.0751 0.1442) |
| OKLCH | oklch(74.85% 0.163 117.5) |
| XYZ | xyz(33.6355, 43.3651, 8.4317) |
| Luminance | 0.4336 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.71
Snot
#ACBB0D
ΔE00 2.10
Sick Green
#9DB92C
ΔE00 2.11
Bright Olive
#9CBB04
ΔE00 2.25
Gross Green
#A0BF16
ΔE00 2.29
Mustard Green
#A8B504
ΔE00 2.53
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BA26 #3A26BA
analogous
#BA8426 #A6BA26 #5CBA26
triadic
#A6BA26 #26A6BA #BA26A6
tetradic
#A6BA26 #26BA84 #3A26BA #BA265C
square
#A6BA26 #26BA84 #3A26BA #BA265C
split-complementary
#A6BA26 #265CBA #8426BA
monochromatic
#4B5411 #79871C #A6BA26 #C5D944 #D5E377
Accessibility & contrast
On white
2.17
#A6BA26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.67
#A6BA26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BA26
9.67:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BA26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BA26 | 1.00 | 2.17 | 9.67 | 9.67 |
| #FFFFFF | 2.17 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.67 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.67 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C7B000
Deuteranopia (green-blind)
#C5B135
Tritanopia (blue-blind)
#B1AF9F
Achromatopsia (no color)
#B0B0B0
Design tokens & code
CSS
--color: #a6ba26; /* rgb */ color: rgb(166, 186, 38); /* oklch */ color: oklch(74.8% 0.163 117.5);
Tailwind
colors: {
custom: {
50: '#c4ce6e',
500: '#a6ba26',
950: '#000000',
},
}SCSS
$custom: #a6ba26; $custom-light: #c4ce6e; $custom-dark: #000000;
JSON
{
"hex": "#a6ba26",
"rgb": {
"r": 166,
"g": 186,
"b": 38
},
"hsl": {
"h": 68.108,
"s": 66.071,
"l": 43.922
},
"oklch": {
"l": 0.74845,
"c": 0.16254,
"h": 117.5
},
"luminance": 0.43365
}Semantic roles & 50–950 ramp
primary
#A6BA26
secondary
#7D71CB
accent
#3FE956
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131308
muted
#82827B