#A6BC31#A6BC31
#A6BC31 is a light, vivid yellow. Relative luminance 0.443; OKLCH L 75.4% C 0.159 H 118.4°. Best body text is #000000 at 9.86:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BC31 |
|---|---|
| RGB | rgb(166, 188, 49) |
| HSL | hsl(69, 59%, 46%) |
| HSV | hsv(69, 74%, 74%) |
| CMYK | cmyk(11.7%, 0%, 73.9%, 26.3%) |
| CIE-LAB | lab(72.43, -25.29, 63.29) |
| CIE-LCH | lch(72.43, 68.15, 111.78°) |
| OKLab | oklab(75.36% -0.0756 0.14) |
| OKLCH | oklch(75.36% 0.159 118.4) |
| XYZ | xyz(34.2642, 44.2955, 9.6500) |
| Luminance | 0.4430 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.58
Sick Green
#9DB92C
ΔE00 1.67
Gross Green
#A0BF16
ΔE00 2.20
Bright Olive
#9CBB04
ΔE00 2.50
Snot
#ACBB0D
ΔE00 3.01
Booger
#9BB53C
ΔE00 3.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BC31 #4731BC
analogous
#BC8D31 #A6BC31 #61BC31
triadic
#A6BC31 #31A6BC #BC31A6
tetradic
#A6BC31 #31BC8D #4731BC #BC3161
square
#A6BC31 #31BC8D #4731BC #BC3161
split-complementary
#A6BC31 #3161BC #8D31BC
monochromatic
#505B18 #7B8B24 #A6BC31 #C0D357 #D2E088
Accessibility & contrast
On white
2.13
#A6BC31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.86
#A6BC31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BC31
9.86:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BC31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BC31 | 1.00 | 2.13 | 9.86 | 9.86 |
| #FFFFFF | 2.13 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.86 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.86 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C9B113
Deuteranopia (green-blind)
#C6B23D
Tritanopia (blue-blind)
#B0B2A1
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #a6bc31; /* rgb */ color: rgb(166, 188, 49); /* oklch */ color: oklch(75.4% 0.159 118.4);
Tailwind
colors: {
custom: {
50: '#c4d073',
500: '#a6bc31',
950: '#000000',
},
}SCSS
$custom: #a6bc31; $custom-light: #c4d073; $custom-dark: #000000;
JSON
{
"hex": "#a6bc31",
"rgb": {
"r": 166,
"g": 188,
"b": 49
},
"hsl": {
"h": 69.496,
"s": 58.65,
"l": 46.471
},
"oklch": {
"l": 0.75364,
"c": 0.15911,
"h": 118.4
},
"luminance": 0.44295
}Semantic roles & 50–950 ramp
primary
#A6BC31
secondary
#8B7FCA
accent
#46E25F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131309
muted
#82827B