#A6AF33#A6AF33
#A6AF33 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.4% C 0.143 H 113.6°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A6AF33 |
|---|---|
| RGB | rgb(166, 175, 51) |
| HSL | hsl(64, 55%, 44%) |
| HSV | hsv(64, 71%, 69%) |
| CMYK | cmyk(5.1%, 0%, 70.9%, 31.4%) |
| CIE-LAB | lab(68.76, -18.75, 59.03) |
| CIE-LCH | lch(68.76, 61.94, 107.62°) |
| OKLab | oklab(72.42% -0.0573 0.1314) |
| OKLCH | oklch(72.42% 0.143 113.6) |
| XYZ | xyz(31.6543, 39.0066, 8.9929) |
| Luminance | 0.3901 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke Green
#9AAE07
ΔE00 3.21
Mustard Green
#A8B504
ΔE00 3.41
Vomit
#A2A415
ΔE00 3.86
Pea Soup Green
#94A617
ΔE00 3.87
Barf Green
#94AC02
ΔE00 4.02
Booger
#9BB53C
ΔE00 4.18
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6AF33 #3C33AF
analogous
#AF7A33 #A6AF33 #68AF33
triadic
#A6AF33 #33A6AF #AF33A6
tetradic
#A6AF33 #33AF7A #3C33AF #AF3368
square
#A6AF33 #33AF7A #3C33AF #AF3368
split-complementary
#A6AF33 #3368AF #7A33AF
monochromatic
#4C5017 #798025 #A6AF33 #C4CD52 #D4DB82
Accessibility & contrast
On white
2.39
#A6AF33 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#A6AF33 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6AF33
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6AF33 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6AF33 | 1.00 | 2.39 | 8.80 | 8.80 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.80 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.80 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA71E
Deuteranopia (green-blind)
#BCA93D
Tritanopia (blue-blind)
#B1A597
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a6af33; /* rgb */ color: rgb(166, 175, 51); /* oklch */ color: oklch(72.4% 0.143 113.6);
Tailwind
colors: {
custom: {
50: '#c4c673',
500: '#a6af33',
950: '#000000',
},
}SCSS
$custom: #a6af33; $custom-light: #c4c673; $custom-dark: #000000;
JSON
{
"hex": "#a6af33",
"rgb": {
"r": 166,
"g": 175,
"b": 51
},
"hsl": {
"h": 64.355,
"s": 54.867,
"l": 44.314
},
"oklch": {
"l": 0.72422,
"c": 0.14332,
"h": 113.6
},
"luminance": 0.39006
}Semantic roles & 50–950 ramp
primary
#A6AF33
secondary
#7F7AC4
accent
#4ADE54
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B