#A6B138#A6B138
#A6B138 is a light, vivid yellow. Relative luminance 0.398; OKLCH L 72.9% C 0.142 H 114.4°. Best body text is #000000 at 8.97:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B138 |
|---|---|
| RGB | rgb(166, 177, 56) |
| HSL | hsl(65, 52%, 46%) |
| HSV | hsv(65, 68%, 69%) |
| CMYK | cmyk(6.2%, 0%, 68.4%, 30.6%) |
| CIE-LAB | lab(69.35, -19.48, 57.73) |
| CIE-LCH | lch(69.35, 60.93, 108.65°) |
| OKLab | oklab(72.91% -0.0588 0.1295) |
| OKLCH | oklch(72.91% 0.142 114.4) |
| XYZ | xyz(32.1627, 39.8374, 9.7357) |
| Luminance | 0.3984 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.40
Booger
#9BB53C
ΔE00 3.50
Mustard Green
#A8B504
ΔE00 3.61
Sick Green
#9DB92C
ΔE00 3.88
Barf Green
#94AC02
ΔE00 4.14
Sickly Green
#94B21C
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B138 #4338B1
analogous
#B18038 #A6B138 #69B138
triadic
#A6B138 #38A6B1 #B138A6
tetradic
#A6B138 #38B180 #4338B1 #B13869
square
#A6B138 #38B180 #4338B1 #B13869
split-complementary
#A6B138 #3869B1 #8038B1
monochromatic
#4F541B #7A8329 #A6B138 #C1CB5B #D3DA8A
Accessibility & contrast
On white
2.34
#A6B138 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.97
#A6B138 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B138
8.97:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B138 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B138 | 1.00 | 2.34 | 8.97 | 8.97 |
| #FFFFFF | 2.34 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.97 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.97 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BEA826
Deuteranopia (green-blind)
#BDAA41
Tritanopia (blue-blind)
#B1A799
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #a6b138; /* rgb */ color: rgb(166, 177, 56); /* oklch */ color: oklch(72.9% 0.142 114.4);
Tailwind
colors: {
custom: {
50: '#c3c876',
500: '#a6b138',
950: '#000000',
},
}SCSS
$custom: #a6b138; $custom-light: #c3c876; $custom-dark: #000000;
JSON
{
"hex": "#a6b138",
"rgb": {
"r": 166,
"g": 177,
"b": 56
},
"hsl": {
"h": 65.455,
"s": 51.931,
"l": 45.686
},
"oklch": {
"l": 0.72911,
"c": 0.14221,
"h": 114.4
},
"luminance": 0.39837
}Semantic roles & 50–950 ramp
primary
#A6B138
secondary
#8781C4
accent
#4CDB59
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B