#A6AF25#A6AF25
#A6AF25 is a light, vivid yellow. Relative luminance 0.389; OKLCH L 72.3% C 0.151 H 113.5°. Best body text is #000000 at 8.78:1 contrast (WCAG AA passes).
Color values
| HEX | #A6AF25 |
|---|---|
| RGB | rgb(166, 175, 37) |
| HSL | hsl(64, 65%, 42%) |
| HSV | hsv(64, 79%, 69%) |
| CMYK | cmyk(5.1%, 0%, 78.9%, 31.4%) |
| CIE-LAB | lab(68.68, -19.38, 63.63) |
| CIE-LCH | lch(68.68, 66.52, 106.94°) |
| OKLab | oklab(72.34% -0.0602 0.1387) |
| OKLCH | oklch(72.34% 0.151 113.5) |
| XYZ | xyz(31.3908, 38.9012, 7.6050) |
| Luminance | 0.3890 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.41
Puke Green
#9AAE07
ΔE00 2.64
Vomit
#A2A415
ΔE00 3.40
Barf Green
#94AC02
ΔE00 3.66
Puke
#A5A502
ΔE00 3.67
Snot
#ACBB0D
ΔE00 3.70
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A6AF25 #2E25AF
analogous
#AF7325 #A6AF25 #61AF25
triadic
#A6AF25 #25A6AF #AF25A6
tetradic
#A6AF25 #25AF73 #2E25AF #AF2561
square
#A6AF25 #25AF73 #2E25AF #AF2561
split-complementary
#A6AF25 #2561AF #7325AF
monochromatic
#464A10 #767C1A #A6AF25 #CCD63C #D9E06E
Accessibility & contrast
On white
2.39
#A6AF25 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.78
#A6AF25 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A6AF25
8.78:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A6AF25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A6AF25 | 1.00 | 2.39 | 8.78 | 8.78 |
| #FFFFFF | 2.39 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.78 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.78 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA600
Deuteranopia (green-blind)
#BCA932
Tritanopia (blue-blind)
#B2A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a6af25; /* rgb */ color: rgb(166, 175, 37); /* oklch */ color: oklch(72.3% 0.151 113.5);
Tailwind
colors: {
custom: {
50: '#c4c66c',
500: '#a6af25',
950: '#000000',
},
}SCSS
$custom: #a6af25; $custom-light: #c4c66c; $custom-dark: #000000;
JSON
{
"hex": "#a6af25",
"rgb": {
"r": 166,
"g": 175,
"b": 37
},
"hsl": {
"h": 63.913,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.72336,
"c": 0.15118,
"h": 113.5
},
"luminance": 0.38901
}Semantic roles & 50–950 ramp
primary
#A6AF25
secondary
#6F69C7
accent
#40E84B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A