#AFAF49#AFAF49
#AFAF49 is a light, vivid yellow. Relative luminance 0.403; OKLCH L 73.4% C 0.125 H 109.1°. Best body text is #000000 at 9.05:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAF49 |
|---|---|
| RGB | rgb(175, 175, 73) |
| HSL | hsl(60, 41%, 49%) |
| HSV | hsv(60, 58%, 69%) |
| CMYK | cmyk(0%, 0%, 58.3%, 31.4%) |
| CIE-LAB | lab(69.65, -13.51, 51.07) |
| CIE-LCH | lch(69.65, 52.83, 104.82°) |
| OKLab | oklab(73.37% -0.0408 0.1177) |
| OKLCH | oklch(73.37% 0.125 109.1) |
| XYZ | xyz(34.2127, 40.2559, 12.2700) |
| Luminance | 0.4026 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Darkkhaki
#BDB76B
ΔE00 5.09
Vomit
#A2A415
ΔE00 5.18
Puke
#A5A502
ΔE00 5.62
Khaki (survey)
#AAA662
ΔE00 5.77
Mustard Green
#A8B504
ΔE00 5.90
Booger
#9BB53C
ΔE00 6.12
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAF49 #4949AF
analogous
#AF7C49 #AFAF49 #7CAF49
triadic
#AFAF49 #49AFAF #AF49AF
tetradic
#AFAF49 #49AF7C #4949AF #AF497C
square
#AFAF49 #49AF7C #4949AF #AF497C
split-complementary
#AFAF49 #497CAF #7C49AF
monochromatic
#595925 #848437 #AFAF49 #C4C471 #D6D69C
Accessibility & contrast
On white
2.32
#AFAF49 on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
9.05
#AFAF49 on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAF49
9.05:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAF49 | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAF49 | 1.00 | 2.32 | 9.05 | 9.05 |
| #FFFFFF | 2.32 | 1.00 | 21.00 | 21.00 |
| #000000 | 9.05 | 21.00 | 1.00 | 1.00 |
| ##000000 | 9.05 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA83E
Deuteranopia (green-blind)
#BDAC4F
Tritanopia (blue-blind)
#BAA599
Achromatopsia (no color)
#AAAAAA
Design tokens & code
CSS
--color: #afaf49; /* rgb */ color: rgb(175, 175, 73); /* oklch */ color: oklch(73.4% 0.125 109.1);
Tailwind
colors: {
custom: {
50: '#c9c680',
500: '#afaf49',
950: '#000000',
},
}SCSS
$custom: #afaf49; $custom-light: #c9c680; $custom-dark: #000000;
JSON
{
"hex": "#afaf49",
"rgb": {
"r": 175,
"g": 175,
"b": 73
},
"hsl": {
"h": 60,
"s": 41.129,
"l": 48.627
},
"oklch": {
"l": 0.7337,
"c": 0.12454,
"h": 109.1
},
"luminance": 0.40255
}Semantic roles & 50–950 ramp
primary
#AFAF49
secondary
#9191C2
accent
#57D157
background
#FCFCF8
surface
#F9F8EF
border
#D2D1CA
text
#13130A
muted
#82827C