#AFAD3C#AFAD3C
#AFAD3C is a light, vivid yellow. Relative luminance 0.393; OKLCH L 72.8% C 0.133 H 108.3°. Best body text is #000000 at 8.87:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAD3C |
|---|---|
| RGB | rgb(175, 173, 60) |
| HSL | hsl(59, 49%, 46%) |
| HSV | hsv(59, 66%, 69%) |
| CMYK | cmyk(0%, 1.1%, 65.7%, 31.4%) |
| CIE-LAB | lab(68.99, -13.35, 55.99) |
| CIE-LCH | lch(68.99, 57.56, 103.42°) |
| OKLab | oklab(72.81% -0.0417 0.1262) |
| OKLCH | oklch(72.81% 0.133 108.3) |
| XYZ | xyz(33.4395, 39.3284, 10.1037) |
| Luminance | 0.3933 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.87
Puke
#A5A502
ΔE00 4.12
Mustard Green
#A8B504
ΔE00 5.12
Puke Green
#9AAE07
ΔE00 5.74
Pea Soup Green
#94A617
ΔE00 5.94
Snot
#ACBB0D
ΔE00 6.01
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAD3C #3C3EAF
analogous
#AF733C #AFAD3C #77AF3C
triadic
#AFAD3C #3CAFAD #AD3CAF
tetradic
#AFAD3C #3CAF73 #3C3EAF #AF3C77
square
#AFAD3C #3CAF73 #3C3EAF #AF3C77
split-complementary
#AFAD3C #3C77AF #733CAF
monochromatic
#54531D #81802C #AFAD3C #C8C760 #D8D78D
Accessibility & contrast
On white
2.37
#AFAD3C on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.87
#AFAD3C on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAD3C
8.87:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAD3C | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAD3C | 1.00 | 2.37 | 8.87 | 8.87 |
| #FFFFFF | 2.37 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.87 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.87 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BBA62D
Deuteranopia (green-blind)
#BDAA43
Tritanopia (blue-blind)
#BBA296
Achromatopsia (no color)
#A8A8A8
Design tokens & code
CSS
--color: #afad3c; /* rgb */ color: rgb(175, 173, 60); /* oklch */ color: oklch(72.8% 0.133 108.3);
Tailwind
colors: {
custom: {
50: '#cac578',
500: '#afad3c',
950: '#000000',
},
}SCSS
$custom: #afad3c; $custom-light: #cac578; $custom-dark: #000000;
JSON
{
"hex": "#afad3c",
"rgb": {
"r": 175,
"g": 173,
"b": 60
},
"hsl": {
"h": 58.957,
"s": 48.936,
"l": 46.078
},
"oklch": {
"l": 0.72806,
"c": 0.13292,
"h": 108.3
},
"luminance": 0.39327
}Semantic roles & 50–950 ramp
primary
#AFAD3C
secondary
#8485C3
accent
#52D84F
background
#FCFCF7
surface
#F9F8EE
border
#D2D1C9
text
#141209
muted
#82817B