#AFAE3B#AFAE3B
#AFAE3B is a light, vivid yellow. Relative luminance 0.397; OKLCH L 73.0% C 0.135 H 108.8°. Best body text is #000000 at 8.94:1 contrast (WCAG AA passes).
Color values
| HEX | #AFAE3B |
|---|---|
| RGB | rgb(175, 174, 59) |
| HSL | hsl(59, 50%, 46%) |
| HSV | hsv(59, 66%, 69%) |
| CMYK | cmyk(0%, 0.6%, 66.3%, 31.4%) |
| CIE-LAB | lab(69.26, -13.93, 56.67) |
| CIE-LCH | lch(69.26, 58.36, 103.81°) |
| OKLab | oklab(73.02% -0.0435 0.1275) |
| OKLCH | oklch(73.02% 0.135 108.8) |
| XYZ | xyz(33.6058, 39.7028, 10.0300) |
| Luminance | 0.3970 (WCAG relative) |
| Temperature | warm |
| Family | yellow |
Closest named colors
Vomit
#A2A415
ΔE00 3.90
Puke
#A5A502
ΔE00 4.13
Mustard Green
#A8B504
ΔE00 4.77
Puke Green
#9AAE07
ΔE00 5.48
Snot
#ACBB0D
ΔE00 5.64
Pea Soup Green
#94A617
ΔE00 5.82
Perceptual scales
Shades
Tints
Tones
OKLCH scale
Color harmonies
complementary
#AFAE3B #3B3CAF
analogous
#AF743B #AFAE3B #76AF3B
triadic
#AFAE3B #3BAFAE #AE3BAF
tetradic
#AFAE3B #3BAF74 #3B3CAF #AF3B76
square
#AFAE3B #3BAF74 #3B3CAF #AF3B76
split-complementary
#AFAE3B #3B76AF #743BAF
monochromatic
#53531C #81802C #AFAE3B #C9C85E #D8D88C
Accessibility & contrast
On white
2.35
#AFAE3B on #FFFFFF
AA ✗AA large ✗AAA ✗
On black
8.94
#AFAE3B on #000000
AA ✓AA large ✓AAA ✓
Best text color
#000000 on #AFAE3B
8.94:1 — WCAG AA (normal text) passes
Contrast matrix
| fg \ bg | ##AFAE3B | #FFFFFF | #000000 | ##000000 |
|---|---|---|---|---|
| ##AFAE3B | 1.00 | 2.35 | 8.94 | 8.94 |
| #FFFFFF | 2.35 | 1.00 | 21.00 | 21.00 |
| #000000 | 8.94 | 21.00 | 1.00 | 1.00 |
| ##000000 | 8.94 | 21.00 | 1.00 | 1.00 |
Color blindness preview
Protanopia (red-blind)
#BCA72B
Deuteranopia (green-blind)
#BDAB43
Tritanopia (blue-blind)
#BBA397
Achromatopsia (no color)
#A9A9A9
Design tokens & code
CSS
--color: #afae3b; /* rgb */ color: rgb(175, 174, 59); /* oklch */ color: oklch(73.0% 0.135 108.8);
Tailwind
colors: {
custom: {
50: '#cac577',
500: '#afae3b',
950: '#000000',
},
}SCSS
$custom: #afae3b; $custom-light: #cac577; $custom-dark: #000000;
JSON
{
"hex": "#afae3b",
"rgb": {
"r": 175,
"g": 174,
"b": 59
},
"hsl": {
"h": 59.483,
"s": 49.573,
"l": 45.882
},
"oklch": {
"l": 0.73018,
"c": 0.13468,
"h": 108.8
},
"luminance": 0.39702
}Semantic roles & 50–950 ramp
primary
#AFAE3B
secondary
#8383C3
accent
#50D94F
background
#FCFCF7
surface
#F9F8ED
border
#D2D1C8
text
#141209
muted
#82817B