#A6B134#A6B134
#A6B134 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.9% C 0.145 H 114.4°. Best body text is #000000 at 8.96:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B134 |
|---|---|
| RGB | rgb(166, 177, 52) |
| HSL | hsl(65, 55%, 45%) |
| HSV | hsv(65, 71%, 69%) |
| CMYK | cmyk(6.2%, 0%, 70.6%, 30.6%) |
| CIE-LAB | lab(69.33, -19.70, 59.22) |
| CIE-LCH | lch(69.33, 62.41, 108.40°) |
| OKLab | oklab(72.88% -0.0598 0.132) |
| OKLCH | oklch(72.88% 0.145 114.4) |
| XYZ | xyz(32.0687, 39.7998, 9.2409) |
| Luminance | 0.3980 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.10
Mustard Green
#A8B504
ΔE00 3.21
Booger
#9BB53C
ΔE00 3.66
Sick Green
#9DB92C
ΔE00 3.83
Barf Green
#94AC02
ΔE00 3.92
Snot
#ACBB0D
ΔE00 4.03
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B134 #3F34B1
analogous
#B17E34 #A6B134 #68B134
triadic
#A6B134 #34A6B1 #B134A6
tetradic
#A6B134 #34B17E #3F34B1 #B13468
square
#A6B134 #34B17E #3F34B1 #B13468
split-complementary
#A6B134 #3468B1 #7E34B1
monochromatic
#4D5218 #7A8226 #A6B134 #C3CD55 #D3DB84
Accessibility & contrast
On white
2.34
#A6B134 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.96
#A6B134 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B134
8.96:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B134 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B134 | 1.00 | 2.34 | 8.96 | 8.96 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.96 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.96 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA81F
Deuteranopia (green-blind)
#BDAA3E
Tritanopia (blue-blind)
#B1A798
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a6b134; /* rgb */ color: rgb(166, 177, 52); /* oklch */ color: oklch(72.9% 0.145 114.4);
Tailwind
colors: {
custom: {
50: '#c4c874',
500: '#a6b134',
950: '#000000',
},
}SCSS
$custom: #a6b134; $custom-light: #c4c874; $custom-dark: #000000;
JSON
{
"hex": "#a6b134",
"rgb": {
"r": 166,
"g": 177,
"b": 52
},
"hsl": {
"h": 65.28,
"s": 54.585,
"l": 44.902
},
"oklch": {
"l": 0.72881,
"c": 0.14488,
"h": 114.4
},
"luminance": 0.39799
}Semantic roles & 50–950 ramp
primary
#A6B134
secondary
#837CC5
accent
#4ADE57
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B