#A6BD31#A6BD31
#A6BD31 is a light, vivid yellow. Relative luminance 0.447; OKLCH L 75.6% C 0.160 H 118.7°. Best body text is #000000 at 9.94:1 contrast (WCAG AA passes).
Color values
| HEX | #A6BD31 |
|---|---|
| RGB | rgb(166, 189, 49) |
| HSL | hsl(70, 59%, 47%) |
| HSV | hsv(70, 74%, 74%) |
| CMYK | cmyk(12.2%, 0%, 74.1%, 25.9%) |
| CIE-LAB | lab(72.71, -25.78, 63.56) |
| CIE-LCH | lch(72.71, 68.59, 112.08°) |
| OKLab | oklab(75.59% -0.0769 0.1406) |
| OKLCH | oklch(75.59% 0.16 118.7) |
| XYZ | xyz(34.4786, 44.7242, 9.7214) |
| Luminance | 0.4472 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Pea
#A4BF20
ΔE00 1.40
Sick Green
#9DB92C
ΔE00 1.70
Gross Green
#A0BF16
ΔE00 2.02
Bright Olive
#9CBB04
ΔE00 2.44
Snot Green
#9DC100
ΔE00 2.99
Snot
#ACBB0D
ΔE00 3.11
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6BD31 #4831BD
analogous
#BD8E31 #A6BD31 #60BD31
triadic
#A6BD31 #31A6BD #BD31A6
tetradic
#A6BD31 #31BD8E #4831BD #BD3160
square
#A6BD31 #31BD8E #4831BD #BD3160
split-complementary
#A6BD31 #3160BD #8E31BD
monochromatic
#515C18 #7B8C24 #A6BD31 #BFD458 #D2E088
Accessibility & contrast
On white
2.11
#A6BD31 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.94
#A6BD31 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6BD31
9.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6BD31 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6BD31 | 1.00 | 2.11 | 9.94 | 9.94 |
| #FFFFFF | 2.11 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#CAB213
Deuteranopia (green-blind)
#C7B33D
Tritanopia (blue-blind)
#B0B3A2
Achromatopsia (no color)
#B2B2B2
Design tokens & code
CSS
--color: #a6bd31; /* rgb */ color: rgb(166, 189, 49); /* oklch */ color: oklch(75.6% 0.160 118.7);
Tailwind
colors: {
custom: {
50: '#c4d074',
500: '#a6bd31',
950: '#000000',
},
}SCSS
$custom: #a6bd31; $custom-light: #c4d074; $custom-dark: #000000;
JSON
{
"hex": "#a6bd31",
"rgb": {
"r": 166,
"g": 189,
"b": 49
},
"hsl": {
"h": 69.857,
"s": 58.824,
"l": 46.667
},
"oklch": {
"l": 0.75593,
"c": 0.16025,
"h": 118.7
},
"luminance": 0.44724
}Semantic roles & 50–950 ramp
primary
#A6BD31
secondary
#8C80CA
accent
#46E25F
background
#FCFCF7
surface
#F8F9ED
border
#D1D2C8
text
#131409
muted
#82827B