#A6B338#A6B338
#A6B338 is a light, vivid yellow. Relative luminance 0.406; OKLCH L 73.4% C 0.144 H 115.2°. Best body text is #000000 at 9.13:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B338 |
|---|---|
| RGB | rgb(166, 179, 56) |
| HSL | hsl(66, 52%, 46%) |
| HSV | hsv(66, 69%, 70%) |
| CMYK | cmyk(7.3%, 0%, 68.7%, 29.8%) |
| CIE-LAB | lab(69.92, -20.48, 58.30) |
| CIE-LCH | lch(69.92, 61.79, 109.36°) |
| OKLab | oklab(73.36% -0.0616 0.1307) |
| OKLCH | oklch(73.36% 0.144 115.2) |
| XYZ | xyz(32.5606, 40.6332, 9.8684) |
| Luminance | 0.4063 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Booger
#9BB53C
ΔE00 3.07
Sick Green
#9DB92C
ΔE00 3.30
Puke Green
#9AAE07
ΔE00 3.36
Mustard Green
#A8B504
ΔE00 3.46
Sickly Green
#94B21C
ΔE00 3.85
Snot
#ACBB0D
ΔE00 4.00
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B338 #4538B3
analogous
#B38238 #A6B338 #69B338
triadic
#A6B338 #38A6B3 #B338A6
tetradic
#A6B338 #38B382 #4538B3 #B33869
square
#A6B338 #38B382 #4538B3 #B33869
split-complementary
#A6B338 #3869B3 #8238B3
monochromatic
#50561B #7B8429 #A6B338 #C0CC5C #D2DB8B
Accessibility & contrast
On white
2.30
#A6B338 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.13
#A6B338 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B338
9.13:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B338 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B338 | 1.00 | 2.30 | 9.13 | 9.13 |
| #FFFFFF | 2.30 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.13 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.13 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA25
Deuteranopia (green-blind)
#BFAC41
Tritanopia (blue-blind)
#B1A99B
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a6b338; /* rgb */ color: rgb(166, 179, 56); /* oklch */ color: oklch(73.4% 0.144 115.2);
Tailwind
colors: {
custom: {
50: '#c3c976',
500: '#a6b338',
950: '#000000',
},
}SCSS
$custom: #a6b338; $custom-light: #c3c976; $custom-dark: #000000;
JSON
{
"hex": "#a6b338",
"rgb": {
"r": 166,
"g": 179,
"b": 56
},
"hsl": {
"h": 66.341,
"s": 52.34,
"l": 46.078
},
"oklch": {
"l": 0.73364,
"c": 0.14447,
"h": 115.2
},
"luminance": 0.40633
}Semantic roles & 50–950 ramp
primary
#A6B338
secondary
#8982C5
accent
#4CDC5B
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131309
muted
#82827B