#A7AF2A#A7AF2A
#A7AF2A is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.4% C 0.148 H 113.1°. Best body text is #000000 at 8.81:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AF2A |
|---|---|
| RGB | rgb(167, 175, 42) |
| HSL | hsl(64, 61%, 43%) |
| HSV | hsv(64, 76%, 69%) |
| CMYK | cmyk(4.6%, 0%, 76%, 31.4%) |
| CIE-LAB | lab(68.78, -18.75, 62.21) |
| CIE-LCH | lch(68.78, 64.98, 106.77°) |
| OKLab | oklab(72.45% -0.0581 0.1365) |
| OKLCH | oklch(72.45% 0.148 113.1) |
| XYZ | xyz(31.6853, 39.0433, 8.0570) |
| Luminance | 0.3904 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.71
Puke Green
#9AAE07
ΔE00 2.97
Vomit
#A2A415
ΔE00 3.43
Puke
#A5A502
ΔE00 3.74
Snot
#ACBB0D
ΔE00 3.90
Barf Green
#94AC02
ΔE00 3.94
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AF2A #322AAF
analogous
#AF742A #A7AF2A #65AF2A
triadic
#A7AF2A #2AA7AF #AF2AA7
tetradic
#A7AF2A #2AAF74 #322AAF #AF2A65
square
#A7AF2A #2AAF74 #322AAF #AF2A65
split-complementary
#A7AF2A #2A65AF #742AAF
monochromatic
#494C12 #787E1E #A7AF2A #CAD244 #D8DE75
Accessibility & contrast
On white
2.38
#A7AF2A on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.81
#A7AF2A on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AF2A
8.81:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AF2A | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AF2A | 1.00 | 2.38 | 8.81 | 8.81 |
| #FFFFFF | 2.38 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.81 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.81 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA607
Deuteranopia (green-blind)
#BCA936
Tritanopia (blue-blind)
#B3A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a7af2a; /* rgb */ color: rgb(167, 175, 42); /* oklch */ color: oklch(72.4% 0.148 113.1);
Tailwind
colors: {
custom: {
50: '#c5c66f',
500: '#a7af2a',
950: '#000000',
},
}SCSS
$custom: #a7af2a; $custom-light: #c5c66f; $custom-dark: #000000;
JSON
{
"hex": "#a7af2a",
"rgb": {
"r": 167,
"g": 175,
"b": 42
},
"hsl": {
"h": 63.609,
"s": 61.29,
"l": 42.549
},
"oklch": {
"l": 0.72446,
"c": 0.14835,
"h": 113.1
},
"luminance": 0.39043
}Semantic roles & 50–950 ramp
primary
#A7AF2A
secondary
#746FC6
accent
#43E44D
background
#FCFCF7
surface
#F8F8ED
border
#D1D1C8
text
#131308
muted
#82827B