#AFA926#AFA926
#AFA926 is a light, vivid yellow. Relative luminance 0.376; OKLCH L 71.8% C 0.143 H 106.7°. Best body text is #000000 at 8.53:1 contrast (WCAG AA passes).
Color values
| HEX | #AFA926 |
|---|---|
| RGB | rgb(175, 169, 38) |
| HSL | hsl(57, 64%, 42%) |
| HSV | hsv(57, 78%, 69%) |
| CMYK | cmyk(0%, 3.4%, 78.3%, 31.4%) |
| CIE-LAB | lab(67.75, -12.36, 62.78) |
| CIE-LCH | lch(67.75, 63.98, 101.14°) |
| OKLab | oklab(71.77% -0.0411 0.1366) |
| OKLCH | oklch(71.77% 0.143 106.7) |
| XYZ | xyz(32.2184, 37.6310, 7.3997) |
| Luminance | 0.3763 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Puke
#A5A502
ΔE00 2.48
Vomit
#A2A415
ΔE00 2.84
Muddy Yellow
#BFAC05
ΔE00 4.39
Olive Yellow
#C2B709
ΔE00 5.08
Mustard Green
#A8B504
ΔE00 5.31
Puke Green
#9AAE07
ΔE00 6.13
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFA926 #262CAF
analogous
#AF6526 #AFA926 #71AF26
triadic
#AFA926 #26AFA9 #A926AF
tetradic
#AFA926 #26AF65 #262CAF #AF2671
square
#AFA926 #26AF65 #262CAF #AF2671
split-complementary
#AFA926 #2671AF #6526AF
monochromatic
#4A4810 #7D781B #AFA926 #D5CE3D #E0DB70
Accessibility & contrast
On white
2.46
#AFA926 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.53
#AFA926 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFA926
8.53:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFA926 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFA926 | 1.00 | 2.46 | 8.53 | 8.53 |
| #FFFFFF | 2.46 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.53 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.53 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#B8A200
Deuteranopia (green-blind)
#BBA731
Tritanopia (blue-blind)
#BC9D91
Achromatopsia (no color)
#A5A5A5
Design tokens & code
CSS
--color: #afa926; /* rgb */ color: rgb(175, 169, 38); /* oklch */ color: oklch(71.8% 0.143 106.7);
Tailwind
colors: {
custom: {
50: '#cbc26c',
500: '#afa926',
950: '#000000',
},
}SCSS
$custom: #afa926; $custom-light: #cbc26c; $custom-dark: #000000;
JSON
{
"hex": "#afa926",
"rgb": {
"r": 175,
"g": 169,
"b": 38
},
"hsl": {
"h": 57.372,
"s": 64.319,
"l": 41.765
},
"oklch": {
"l": 0.71773,
"c": 0.14267,
"h": 106.7
},
"luminance": 0.3763
}Semantic roles & 50–950 ramp
primary
#AFA926
secondary
#6A6EC7
accent
#48E740
background
#FCFBF6
surface
#F9F7EC
border
#D2D0C7
text
#141207
muted
#82817A