#A7AF25#A7AF25
#A7AF25 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.4% C 0.151 H 113.1°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AF25 |
|---|---|
| RGB | rgb(167, 175, 37) |
| HSL | hsl(63, 65%, 42%) |
| HSV | hsv(63, 79%, 69%) |
| CMYK | cmyk(4.6%, 0%, 78.9%, 31.4%) |
| CIE-LAB | lab(68.76, -18.95, 63.73) |
| CIE-LCH | lch(68.76, 66.49, 106.56°) |
| OKLab | oklab(72.42% -0.0591 0.1388) |
| OKLCH | oklch(72.42% 0.151 113.1) |
| XYZ | xyz(31.6013, 39.0097, 7.6149) |
| Luminance | 0.3901 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.42
Puke Green
#9AAE07
ΔE00 2.85
Vomit
#A2A415
ΔE00 3.32
Puke
#A5A502
ΔE00 3.54
Snot
#ACBB0D
ΔE00 3.71
Barf Green
#94AC02
ΔE00 3.88
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AF25 #2D25AF
analogous
#AF7225 #A7AF25 #62AF25
triadic
#A7AF25 #25A7AF #AF25A7
tetradic
#A7AF25 #25AF72 #2D25AF #AF2562
square
#A7AF25 #25AF72 #2D25AF #AF2562
split-complementary
#A7AF25 #2562AF #7225AF
monochromatic
#474A10 #777C1A #A7AF25 #CDD63C #DAE06E
Accessibility & contrast
On white
2.39
#A7AF25 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#A7AF25 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AF25
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AF25 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AF25 | 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)
#BDA600
Deuteranopia (green-blind)
#BDA932
Tritanopia (blue-blind)
#B3A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a7af25; /* rgb */ color: rgb(167, 175, 37); /* oklch */ color: oklch(72.4% 0.151 113.1);
Tailwind
colors: {
custom: {
50: '#c5c66c',
500: '#a7af25',
950: '#000000',
},
}SCSS
$custom: #a7af25; $custom-light: #c5c66c; $custom-dark: #000000;
JSON
{
"hex": "#a7af25",
"rgb": {
"r": 167,
"g": 175,
"b": 37
},
"hsl": {
"h": 63.478,
"s": 65.094,
"l": 41.569
},
"oklch": {
"l": 0.72419,
"c": 0.15088,
"h": 113.1
},
"luminance": 0.39009
}Semantic roles & 50–950 ramp
primary
#A7AF25
secondary
#6E69C7
accent
#40E849
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A