#A6B731#A6B731
#A6B731 is a light, vivid yellow. Relative luminance 0.422; OKLCH L 74.2% C 0.153 H 116.7°. Best body text is #000000 at 9.44:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B731 |
|---|---|
| RGB | rgb(166, 183, 49) |
| HSL | hsl(68, 58%, 45%) |
| HSV | hsv(68, 73%, 72%) |
| CMYK | cmyk(9.3%, 0%, 73.2%, 28.2%) |
| CIE-LAB | lab(71.01, -22.84, 61.93) |
| CIE-LCH | lch(71.01, 66.01, 110.25°) |
| OKLab | oklab(74.22% -0.0688 0.1372) |
| OKLCH | oklch(74.22% 0.153 116.7) |
| XYZ | xyz(33.2146, 42.1962, 9.3001) |
| Luminance | 0.4220 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Sick Green
#9DB92C
ΔE00 2.25
Mustard Green
#A8B504
ΔE00 2.84
Pea
#A4BF20
ΔE00 2.85
Snot
#ACBB0D
ΔE00 2.94
Booger
#9BB53C
ΔE00 2.97
Bright Olive
#9CBB04
ΔE00 3.24
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B731 #4231B7
analogous
#B78531 #A6B731 #63B731
triadic
#A6B731 #31A6B7 #B731A6
tetradic
#A6B731 #31B785 #4231B7 #B73163
square
#A6B731 #31B785 #4231B7 #B73163
split-complementary
#A6B731 #3163B7 #8531B7
monochromatic
#4E5617 #7A8724 #A6B731 #C1D154 #D3DE84
Accessibility & contrast
On white
2.22
#A6B731 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.44
#A6B731 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B731
9.44:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B731 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B731 | 1.00 | 2.22 | 9.44 | 9.44 |
| #FFFFFF | 2.22 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.44 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.44 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C4AD16
Deuteranopia (green-blind)
#C2AF3C
Tritanopia (blue-blind)
#B1AD9D
Achromatopsia (no color)
#AEAEAE
Design tokens & code
CSS
--color: #a6b731; /* rgb */ color: rgb(166, 183, 49); /* oklch */ color: oklch(74.2% 0.153 116.7);
Tailwind
colors: {
custom: {
50: '#c4cc73',
500: '#a6b731',
950: '#000000',
},
}SCSS
$custom: #a6b731; $custom-light: #c4cc73; $custom-dark: #000000;
JSON
{
"hex": "#a6b731",
"rgb": {
"r": 166,
"g": 183,
"b": 49
},
"hsl": {
"h": 67.612,
"s": 57.759,
"l": 45.49
},
"oklch": {
"l": 0.74223,
"c": 0.15345,
"h": 116.7
},
"luminance": 0.42196
}Semantic roles & 50–950 ramp
primary
#A6B731
secondary
#867CC8
accent
#47E15A
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B