#A6B325#A6B325
#A6B325 is a light, vivid yellow. Relative luminance 0.405; OKLCH L 73.2% C 0.155 H 115.0°. Best body text is #000000 at 9.10:1 contrast (WCAG AA passes).
Color values
| HEX | #A6B325 |
|---|---|
| RGB | rgb(166, 179, 37) |
| HSL | hsl(65, 66%, 42%) |
| HSV | hsv(65, 79%, 70%) |
| CMYK | cmyk(7.3%, 0%, 79.3%, 29.8%) |
| CIE-LAB | lab(69.81, -21.39, 64.65) |
| CIE-LCH | lch(69.81, 68.09, 108.30°) |
| OKLab | oklab(73.24% -0.0658 0.1408) |
| OKLCH | oklch(73.24% 0.155 115) |
| XYZ | xyz(32.1809, 40.4813, 7.8683) |
| Luminance | 0.4048 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 1.77
Puke Green
#9AAE07
ΔE00 2.43
Snot
#ACBB0D
ΔE00 2.71
Sick Green
#9DB92C
ΔE00 3.47
Booger Green
#96B403
ΔE00 3.51
Barf Green
#94AC02
ΔE00 3.51
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6B325 #3225B3
analogous
#B37925 #A6B325 #5FB325
triadic
#A6B325 #25A6B3 #B325A6
tetradic
#A6B325 #25B379 #3225B3 #B3255F
square
#A6B325 #25B379 #3225B3 #B3255F
split-complementary
#A6B325 #255FB3 #7925B3
monochromatic
#484E10 #77801B #A6B325 #C9D73E #D7E271
Accessibility & contrast
On white
2.31
#A6B325 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.10
#A6B325 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6B325
9.10:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6B325 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6B325 | 1.00 | 2.31 | 9.10 | 9.10 |
| #FFFFFF | 2.31 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.10 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.10 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#C0AA00
Deuteranopia (green-blind)
#BFAC33
Tritanopia (blue-blind)
#B1A899
Achromatopsia (no color)
#ABABAB
Design tokens & code
CSS
--color: #a6b325; /* rgb */ color: rgb(166, 179, 37); /* oklch */ color: oklch(73.2% 0.155 115.0);
Tailwind
colors: {
custom: {
50: '#c4c96d',
500: '#a6b325',
950: '#000000',
},
}SCSS
$custom: #a6b325; $custom-light: #c4c96d; $custom-dark: #000000;
JSON
{
"hex": "#a6b325",
"rgb": {
"r": 166,
"g": 179,
"b": 37
},
"hsl": {
"h": 65.493,
"s": 65.741,
"l": 42.353
},
"oklch": {
"l": 0.73244,
"c": 0.15541,
"h": 115
},
"luminance": 0.40481
}Semantic roles & 50–950 ramp
primary
#A6B325
secondary
#746BC8
accent
#3FE94F
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A