#A6B31B#A6B31B
#A6B31B is a light, vivid yellow. Relative luminance 0.404; OKLCH L 73.2% C 0.160 H 115.0°. Best body text is #000000 at 9.09:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B31B |
|---|---|
| RGB | rgb(166, 179, 27) |
| HSL | hsl(65, 74%, 40%) |
| HSV | hsv(65, 85%, 70%) |
| CMYK | cmyk(7.3%, 0%, 84.9%, 29.8%) |
| CIE-LAB | lab(69.77, -21.71, 67.19) |
| CIE-LCH | lch(69.77, 70.61, 107.91°) |
| OKLab | oklab(73.2% -0.0673 0.1446) |
| OKLCH | oklch(73.2% 0.16 115) |
| XYZ | xyz(32.0448, 40.4269, 7.1518) |
| Luminance | 0.4043 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.16
Puke Green
#9AAE07
ΔE00 2.35
Snot
#ACBB0D
ΔE00 2.37
Booger Green
#96B403
ΔE00 3.50
Barf Green
#94AC02
ΔE00 3.50
Sick Green
#9DB92C
ΔE00 3.76
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B31B #281BB3
analogous
#B3741B #A6B31B #5AB31B
triadic
#A6B31B #1BA6B3 #B31BA6
tetradic
#A6B31B #1BB374 #281BB3 #B31B5A
square
#A6B31B #1BB374 #281BB3 #B31B5A
split-complementary
#A6B31B #1B5AB3 #741BB3
monochromatic
#43490B #757E13 #A6B31B #D0DF2C #DCE761
Accessibility & contrast
On white
2.31
#A6B31B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.09
#A6B31B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B31B
9.09:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B31B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B31B | 1.00 | 2.31 | 9.09 | 9.09 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.09 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.09 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C1A900
Deuteranopia (green-blind)
#C0AC2C
Tritanopia (blue-blind)
#B1A899
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #a6b31b; /* rgb */ color: rgb(166, 179, 27); /* oklch */ color: oklch(73.2% 0.160 115.0);
Tailwind
colors: {
custom: {
50: '#c4c969',
500: '#a6b31b',
950: '#000000',
},
}SCSS
$custom: #a6b31b; $custom-light: #c4c969; $custom-dark: #000000;
JSON
{
"hex": "#a6b31b",
"rgb": {
"r": 166,
"g": 179,
"b": 27
},
"hsl": {
"h": 65.132,
"s": 73.786,
"l": 40.392
},
"oklch": {
"l": 0.73201,
"c": 0.1595,
"h": 115
},
"luminance": 0.40426
}Semantic roles & 50–950 ramp
primary
#A6B31B
secondary
#675ECC
accent
#37F047
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131307
muted
#82827A