#A7AF26#A7AF26
#A7AF26 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 | #A7AF26 |
|---|---|
| RGB | rgb(167, 175, 38) |
| HSL | hsl(64, 64%, 42%) |
| HSV | hsv(64, 78%, 69%) |
| CMYK | cmyk(4.6%, 0%, 78.3%, 31.4%) |
| CIE-LAB | lab(68.76, -18.91, 63.44) |
| CIE-LCH | lch(68.76, 66.20, 106.60°) |
| OKLab | oklab(72.42% -0.0589 0.1384) |
| OKLCH | oklch(72.42% 0.15 113.1) |
| XYZ | xyz(31.6172, 39.0161, 7.6987) |
| Luminance | 0.3901 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Mustard Green
#A8B504
ΔE00 2.48
Puke Green
#9AAE07
ΔE00 2.87
Vomit
#A2A415
ΔE00 3.34
Puke
#A5A502
ΔE00 3.58
Snot
#ACBB0D
ΔE00 3.74
Barf Green
#94AC02
ΔE00 3.89
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#A7AF26 #2E26AF
analogous
#AF7326 #A7AF26 #62AF26
triadic
#A7AF26 #26A7AF #AF26A7
tetradic
#A7AF26 #26AF73 #2E26AF #AF2662
square
#A7AF26 #26AF73 #2E26AF #AF2662
split-complementary
#A7AF26 #2662AF #7326AF
monochromatic
#474A10 #777D1B #A7AF26 #CCD53D #D9E070
Accessibility & contrast
On white
2.39
#A7AF26 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#A7AF26 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #A7AF26
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##A7AF26 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##A7AF26 | 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: #a7af26; /* rgb */ color: rgb(167, 175, 38); /* oklch */ color: oklch(72.4% 0.150 113.1);
Tailwind
colors: {
custom: {
50: '#c5c66d',
500: '#a7af26',
950: '#000000',
},
}SCSS
$custom: #a7af26; $custom-light: #c5c66d; $custom-dark: #000000;
JSON
{
"hex": "#a7af26",
"rgb": {
"r": 167,
"g": 175,
"b": 38
},
"hsl": {
"h": 63.504,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.72424,
"c": 0.1504,
"h": 113.1
},
"luminance": 0.39015
}Semantic roles & 50–950 ramp
primary
#A7AF26
secondary
#706AC7
accent
#40E74A
background
#FCFCF6
surface
#F8F8EC
border
#D1D1C7
text
#131308
muted
#82827A