#AFAC3F#AFAC3F
#AFAC3F is a light, vivid yellow. Relative luminance 0.390; OKLCH L 72.6% C 0.130 H 107.7°. Best body text is #000000 at 8.80:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAC3F |
|---|---|
| RGB | rgb(175, 172, 63) |
| HSL | hsl(58, 47%, 47%) |
| HSV | hsv(58, 64%, 69%) |
| CMYK | cmyk(0%, 1.7%, 64%, 31.4%) |
| CIE-LAB | lab(68.74, -12.65, 54.47) |
| CIE-LCH | lch(68.74, 55.92, 103.08°) |
| OKLab | oklab(72.61% -0.0394 0.1235) |
| OKLCH | oklch(72.61% 0.13 107.7) |
| XYZ | xyz(33.3300, 38.9789, 10.4696) |
| Luminance | 0.3898 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 4.05
Puke
#A5A502
ΔE00 4.35
Mustard Green
#A8B504
ΔE00 5.64
Darkkhaki
#BDB76B
ΔE00 6.10
Puke Green
#9AAE07
ΔE00 6.14
Pea Soup Green
#94A617
ΔE00 6.16
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAC3F #3F42AF
analogous
#AF743F #AFAC3F #7AAF3F
triadic
#AFAC3F #3FAFAC #AC3FAF
tetradic
#AFAC3F #3FAF74 #3F42AF #AF3F7A
square
#AFAC3F #3FAF74 #3F42AF #AF3F7A
split-complementary
#AFAC3F #3F7AAF #743FAF
monochromatic
#55541F #82802F #AFAC3F #C7C564 #D7D691
Accessibility & contrast
On white
2.39
#AFAC3F on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.80
#AFAC3F on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAC3F
8.80:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAC3F | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAC3F | 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)
#BAA531
Deuteranopia (green-blind)
#BCAA46
Tritanopia (blue-blind)
#BBA195
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afac3f; /* rgb */ color: rgb(175, 172, 63); /* oklch */ color: oklch(72.6% 0.130 107.7);
Tailwind
colors: {
custom: {
50: '#cac479',
500: '#afac3f',
950: '#000000',
},
}SCSS
$custom: #afac3f; $custom-light: #cac479; $custom-dark: #000000;
JSON
{
"hex": "#afac3f",
"rgb": {
"r": 175,
"g": 172,
"b": 63
},
"hsl": {
"h": 58.393,
"s": 47.059,
"l": 46.667
},
"oklch": {
"l": 0.72612,
"c": 0.12961,
"h": 107.7
},
"luminance": 0.38978
}Semantic roles & 50–950 ramp
primary
#AFAC3F
secondary
#8789C3
accent
#55D751
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B