#A7AF27#A7AF27
#A7AF27 is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.4% C 0.150 H 113.1°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #A7AF27 |
|---|---|
| RGB | rgb(167, 175, 39) |
| HSL | hsl(64, 64%, 42%) |
| HSV | hsv(64, 78%, 69%) |
| CMYK | cmyk(4.6%, 0%, 77.7%, 31.4%) |
| CIE-LAB | lab(68.77, -18.87, 63.14) |
| CIE-LCH | lch(68.77, 65.90, 106.64°) |
| OKLab | oklab(72.43% -0.0587 0.1379) |
| OKLCH | oklch(72.43% 0.15 113.1) |
| XYZ | xyz(31.6336, 39.0226, 7.7848) |
| Luminance | 0.3902 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.53
Puke Green
#9AAE07
ΔE00 2.89
Vomit
#A2A415
ΔE00 3.36
Puke
#A5A502
ΔE00 3.61
Snot
#ACBB0D
ΔE00 3.78
Barf Green
#94AC02
ΔE00 3.90
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AF27 #2F27AF
analogous
#AF7327 #A7AF27 #63AF27
triadic
#A7AF27 #27A7AF #AF27A7
tetradic
#A7AF27 #27AF73 #2F27AF #AF2763
square
#A7AF27 #27AF73 #2F27AF #AF2763
split-complementary
#A7AF27 #2763AF #7327AF
monochromatic
#474B11 #777D1C #A7AF27 #CBD43F #D9DF71
Accessibility & contrast
On white
2.39
#A7AF27 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#A7AF27 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AF27
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AF27 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AF27 | 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)
#BDA933
Tritanopia (blue-blind)
#B3A496
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #a7af27; /* rgb */ color: rgb(167, 175, 39); /* oklch */ color: oklch(72.4% 0.150 113.1);
Tailwind
colors: {
custom: {
50: '#c5c66d',
500: '#a7af27',
950: '#000000',
},
}SCSS
$custom: #a7af27; $custom-light: #c5c66d; $custom-dark: #000000;
JSON
{
"hex": "#a7af27",
"rgb": {
"r": 167,
"g": 175,
"b": 39
},
"hsl": {
"h": 63.529,
"s": 63.551,
"l": 41.961
},
"oklch": {
"l": 0.72429,
"c": 0.1499,
"h": 113.1
},
"luminance": 0.39022
}Semantic roles & 50–950 ramp
primary
#A7AF27
secondary
#716BC6
accent
#41E74B
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A