#A6B229#A6B229
#A6B229 is a light, vivid yellow. Relative luminance 0.401; OKLCH L 73.0% C 0.152 H 114.7°. Best body text is #000000 at 9.02:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B229 |
|---|---|
| RGB | rgb(166, 178, 41) |
| HSL | hsl(65, 63%, 43%) |
| HSV | hsv(65, 77%, 70%) |
| CMYK | cmyk(6.7%, 0%, 77%, 30.2%) |
| CIE-LAB | lab(69.55, -20.73, 63.20) |
| CIE-LCH | lch(69.55, 66.52, 108.16°) |
| OKLab | oklab(73.04% -0.0636 0.1384) |
| OKLCH | oklch(73.04% 0.152 114.7) |
| XYZ | xyz(32.0475, 40.1085, 8.1509) |
| Luminance | 0.4011 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.16
Puke Green
#9AAE07
ΔE00 2.52
Snot
#ACBB0D
ΔE00 3.12
Barf Green
#94AC02
ΔE00 3.55
Sick Green
#9DB92C
ΔE00 3.64
Booger Green
#96B403
ΔE00 3.75
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B229 #3529B2
analogous
#B27929 #A6B229 #62B229
triadic
#A6B229 #29A6B2 #B229A6
tetradic
#A6B229 #29B279 #3529B2 #B22962
square
#A6B229 #29B279 #3529B2 #B22962
split-complementary
#A6B229 #2962B2 #7929B2
monochromatic
#494F12 #78801E #A6B229 #C7D444 #D6DF76
Accessibility & contrast
On white
2.33
#A6B229 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.02
#A6B229 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B229
9.02:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B229 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B229 | 1.00 | 2.33 | 9.02 | 9.02 |
| #FFFFFF | 2.33 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.02 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.02 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BFA901
Deuteranopia (green-blind)
#BFAB35
Tritanopia (blue-blind)
#B1A799
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a6b229; /* rgb */ color: rgb(166, 178, 41); /* oklch */ color: oklch(73.0% 0.152 114.7);
Tailwind
colors: {
custom: {
50: '#c4c86e',
500: '#a6b229',
950: '#000000',
},
}SCSS
$custom: #a6b229; $custom-light: #c4c86e; $custom-dark: #000000;
JSON
{
"hex": "#a6b229",
"rgb": {
"r": 166,
"g": 178,
"b": 41
},
"hsl": {
"h": 65.255,
"s": 62.557,
"l": 42.941
},
"oklch": {
"l": 0.73038,
"c": 0.15237,
"h": 114.7
},
"luminance": 0.40108
}Semantic roles & 50–950 ramp
primary
#A6B229
secondary
#7770C7
accent
#42E650
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B