#A6BB31#A6BB31
#A6BB31 is a light, vivid yellow. Relative luminance 0.439; OKLCH L 75.1% C 0.158 H 118.0°. Best body text is #000000 at 9.77:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BB31 |
|---|---|
| RGB | rgb(166, 187, 49) |
| HSL | hsl(69, 58%, 46%) |
| HSV | hsv(69, 74%, 73%) |
| CMYK | cmyk(11.2%, 0%, 73.8%, 26.7%) |
| CIE-LAB | lab(72.14, -24.80, 63.02) |
| CIE-LCH | lch(72.14, 67.72, 111.49°) |
| OKLab | oklab(75.14% -0.0742 0.1394) |
| OKLCH | oklch(75.14% 0.158 118) |
| XYZ | xyz(34.0514, 43.8697, 9.5790) |
| Luminance | 0.4387 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 1.69
Pea
#A4BF20
ΔE00 1.80
Gross Green
#A0BF16
ΔE00 2.40
Bright Olive
#9CBB04
ΔE00 2.59
Snot
#ACBB0D
ΔE00 2.94
Booger
#9BB53C
ΔE00 3.02
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BB31 #4631BB
analogous
#BB8B31 #A6BB31 #61BB31
triadic
#A6BB31 #31A6BB #BB31A6
tetradic
#A6BB31 #31BB8B #4631BB #BB3161
square
#A6BB31 #31BB8B #4631BB #BB3161
split-complementary
#A6BB31 #3161BB #8B31BB
monochromatic
#505A18 #7B8B24 #A6BB31 #C0D356 #D2E087
Accessibility & contrast
On white
2.15
#A6BB31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.77
#A6BB31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BB31
9.77:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BB31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BB31 | 1.00 | 2.15 | 9.77 | 9.77 |
| #FFFFFF | 2.15 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.77 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.77 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C8B114
Deuteranopia (green-blind)
#C5B23D
Tritanopia (blue-blind)
#B0B1A1
Achromatopsia (no color)
#B1B1B1
Design tokens & code
CSS
--color: #a6bb31; /* rgb */ color: rgb(166, 187, 49); /* oklch */ color: oklch(75.1% 0.158 118.0);
Tailwind
colors: {
custom: {
50: '#c4cf73',
500: '#a6bb31',
950: '#000000',
},
}SCSS
$custom: #a6bb31; $custom-light: #c4cf73; $custom-dark: #000000;
JSON
{
"hex": "#a6bb31",
"rgb": {
"r": 166,
"g": 187,
"b": 49
},
"hsl": {
"h": 69.13,
"s": 58.475,
"l": 46.275
},
"oklch": {
"l": 0.75136,
"c": 0.15798,
"h": 118
},
"luminance": 0.43869
}Semantic roles & 50–950 ramp
primary
#A6BB31
secondary
#8A7FC9
accent
#46E25E
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B